Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [pde-ui-dev] Regarding creating extension Points

Anisha,
 
looks to me like you did not use the correct way to set the dependency of the test plugin on com.ibm.lab.slon.extensionpoint.
 
- Set com.ibm.lab.slon.extensionpoint as a plugin dependency in com.ibm.lab.slon.extensionpoint.test.
-- Open com.ibm.lab.slon.extensionpoint.test/plugin.xml in the manifest editor (which is the standard editor for plugin.xml).
-- In the editor, go to the "Dependencies" tab and click Add.
-- Choose the plugin which defines the extension point (com.ibm.lab.slon.extensionpoint) from the list.
-- Save and close plugin.xml.
- Now remove the com.ibm.lab.slon.extensionpoint_1.0.0.jar from the java project's build path.
-- Open the project properties, select "Java Build Path" and then the "Libraries" tab
-- Remove the reference to the com.ibm.lab.slon.extensionpoint_1.0.0.jar.
 
After this the com.ibm.lab.slon.extensionpoint content is not only available to the java compiler but also to the other services of the PDE, such as the manifest editor, which will now let you add new toolActions under your extension point.
 
HTH
 
 
Norbert Ploett
 
 

Back to the top