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

Bug 356835

Summary: Enhance Dependency Page to allow customized Pages through extension points
Product: [WebTools] WTP Common Tools Reporter: Galileo Perez <galileo>
Component: wst.commonAssignee: Galileo Perez <galileo>
Status: RESOLVED FIXED QA Contact: Carl Anderson <ccc>
Severity: enhancement    
Priority: P3 CC: cbridgha, ccc, shr31223
Version: 3.2.4Flags: ccc: review+
cbridgha: review+
Target Milestone: 3.2.5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 357701    
Attachments:
Description Flags
Patch to allow ReferenceWizardFragment to be overwritten shr31223: iplog+

Description Galileo Perez CLA 2011-09-06 12:19:53 EDT
Build Identifier: 

An adopter product needs the ability to use their customized Dependecy Page for their own purposes throw extensions points. The modifications involve changes to org.eclipse.wst.common.componentcore.ui.internal.propertypage.DependencyPagesExtensionsManager#getProvider, org.eclipse.wst.common.componentcore.ui.internal.propertypage.DependencyPagesExtensionsManager#loadProviders(), org.eclipse.wst.common.componentcore.ui.internal.propertypage.DependencyPagesExtensionsManager#loadAllReferenceWizardFragments()
and some modifications to the /webtools/common/plugins/org.eclipse.wst.common.modulecore.ui/schema/moduleDependencyPropertyPage.exsd file to allow the adption of the extension point

Reproducible: Always
Comment 1 Galileo Perez CLA 2011-09-13 16:54:07 EDT
Created attachment 203303 [details]
Patch to allow ReferenceWizardFragment to be overwritten
Comment 2 Chuck Bridgham CLA 2011-09-14 14:48:55 EDT
I addition, these changes do not break compatibility, and the new "weight" attribute is completely optional.

These changes are required to extend/replace pages in the deployment assembly framework.

I approve
Comment 3 Roberto Sanchez Herrera CLA 2011-09-14 18:03:26 EDT
Code committed to R3_2_maintenance for WTP 3.2.5. I'm going to create a different bug for 3.3.2 and 3.4, because this patch cannot be applied directly to HEAD. It needs some changes.