[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-ui-dev] Regarding creating extension Points
|
Thank You Norbert,
Now I an trying to contribute to my pwn extension point in another Plugin
I have created an extension point and also an interface for the same.
My interface extennds IExecutableExtension and my extension point plugin is basically trying to add its own Menu to the existing workbench of the contributer Plugin.
So in the contributer side I extended the extension and the parameter class of my contributer is implementing my interface.
I am not getting if i m worng in implementation.
But when i run contributer Plugin at runtime i get an Error tht no class definition found for the "extension point" class.
This extension point class is already added to my build path too.
Can anyone please help me with this
Anisha
On 7/12/06, Ploett, Norbert <
norbert.ploett@xxxxxxxxxxx> wrote:
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
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-ui-dev