Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321635 - Adopters should be able to hide some default options from the 'New Reference Wizard' of the Deployment Assembly page
Summary: Adopters should be able to hide some default options from the 'New Reference ...
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.2   Edit
Assignee: Aidyl Kareh CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 13:29 EDT by Aidyl Kareh CLA
Modified: 2010-08-31 13:52 EDT (History)
3 users (show)

See Also:
cbridgha: review+
ccc: review+


Attachments
Proposed Patch (1.60 KB, patch)
2010-08-03 13:41 EDT, Aidyl Kareh CLA
ccc: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.