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

Bug 135976

Summary: Enhance PDE support for extension points specifying a namespace
Product: [Eclipse Project] PDE Reporter: Brian Bauman <baumanbr>
Component: UIAssignee: Brian Bauman <baumanbr>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: brockway, ob1.eclipse, raji, wassim.melhem
Version: 3.2   
Target Milestone: 3.2 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
fix none

Description Brian Bauman CLA 2006-04-10 15:16:57 EDT
The runtime has included support for extension points specifying a namespace other than the contributing plugin's id (bug 112856).  

Currently, PDE's extension point wizard does not allow the user to type in a '.' in the id field.  Also, PDE puts an error on the plugin.xml that uses an extension with a namespace other than the plugin id.  It warns of an "Unknown extension point".  

These are two examples of areas where we might modify PDE to make it more user friendly to utilize new runtime functionality.
Comment 1 Wassim Melhem CLA 2006-04-10 23:02:22 EDT
Brian, let's get this one in for 3.2RC1
Comment 2 Brian Bauman CLA 2006-04-13 18:00:28 EDT
Created attachment 38557 [details]
fix

Should allow for enhanced extension point developement.

Builder can now find extension points declared outside the namespace of the contributing plugin.  Should resolve problems not being able to use new extensions.  Also displays a warning if the namespace for the plugin does not exist in the workspace.

for the New Schema File wizard, the restrictions on the id of the file, were removed to allow the user total control of id.  If the user adds the .exsd file to the plugin.xml with an invalid id (in the plugin.xml), the builder will flag the problem.

For the Manifest Editor new extension point wizard, allows user to include '.' in the id.  Does check to see if namespace the user entered exists.  If not, it warns the user but allows them to continue.  

Also changed the way the ExtensionPoint object in PDE display the value to more accurately reflect new changes.  Should allow users to select enhanced extension points in the Extensions Section of the Manifest Editor.
Comment 3 Wassim Melhem CLA 2006-04-23 16:30:18 EDT
applied patch with minor modifications.  thanks.