This content has been marked as final.
Show 3 replies
-
1. Re: extending eclipse process designer plugin
sunilramaiah Sep 28, 2006 1:29 PM (in response to paulharrington)Hello Paul,
I am trying to do the same task, but could not find any documentation. Did you find anything about this ? Please let me know.
Thanks,
Sunil. -
2. Re: extending eclipse process designer plugin
paulharrington Sep 28, 2006 7:44 PM (in response to paulharrington)Hi Sunil,
I haven't found out anything yet I'm afraid. However if and when I do, I will let you know
thanks
Paul -
3. Re: extending eclipse process designer plugin
koen.aers Oct 2, 2006 5:34 AM (in response to paulharrington)Hi Paul and Sunil,
Extending the designer is not really easy at the moment. There are a couple of extension points that allow you to do these kinds of things, but they are not documented and will probably change in the future. Have a look at the plugin.xml file of the org.jbpm.gd.jpdl.ui project.
You will find the 'editPolicies' and 'graphElements' extension points. You can see how they are used in the following excerpts:<graphElement name="state" contributor="org.jbpm.ui.contributor.StateContributor"> <entry category="org.jbpm.palette.1.BasicNodeTools" id="org.jbpm.ui.palette.2.State" label="State" tooltip="Creates a State node" type="node"/> </graphElement>
<editPolicy id="org.jbpm.ui.NodeComponentEditPolicy" part="org.jbpm.ui.part.graph.NodeGraphicalEditPart" policy="org.jbpm.ui.policy.NodeComponentEditPolicy" role="ComponentEditPolicy"/>
Certainly the use of the 'editPolicy' extension point (which serves to modify and customize the way graphical objects react to user input) requires a fair amount of GEF knowledge.
Hopefully this helps.
Regards,
Koen