Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321635

Summary: Adopters should be able to hide some default options from the 'New Reference Wizard' of the Deployment Assembly page
Product: [WebTools] WTP Java EE Tools Reporter: Aidyl Kareh <amkareh>
Component: jst.j2eeAssignee: Aidyl Kareh <amkareh>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: amkareh, ccc, jsholl
Version: 3.2Flags: cbridgha: review+
ccc: review+
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Patch ccc: iplog+

Description Aidyl Kareh CLA 2010-08-03 13:29:35 EDT
Build Identifier: WTP 3.2.1

Currently adopters don't have the ability to hide some of the default options from the 'New Reference Wizard' of the Deployment Assembly page.

Reproducible: Always
Comment 1 Aidyl Kareh CLA 2010-08-03 13:41:06 EDT
Created attachment 175802 [details]
Proposed Patch

This patch would allow an adopter to hide some default options from the 'New Reference Wizard' of the 'Deployment Assembly' properties page by adding an extension point reference to their plugin.xml file and using the hidden="true" attribute on the existing id which we want to hide: (this example would remove the 'Project' reference option from the 'New Reference Wizard')  
<extension       
     point="org.eclipse.wst.common.modulecore.ui.referenceWizardFragment">
       <referenceFragment
class="org.eclipse.wst.common.componentcore.ui.internal.propertypage.ProjectReferenceWizardFragment"
             id="org.eclipse.wst.common.componentcore.ui.newProjectReference"
             hidden="true"
             name="Project">
       </referenceFragment>
</extension>
Comment 2 Chuck Bridgham CLA 2010-08-23 13:12:05 EDT
approved
Comment 3 Carl Anderson CLA 2010-08-26 00:28:44 EDT
I approve
Comment 4 Carl Anderson CLA 2010-08-26 00:29:32 EDT
Committed to HEAD for WTP 3.2.2 and WTP 3.3
Comment 5 Jason Sholl CLA 2010-08-31 13:52:35 EDT
the code had already been checked in.