[jboss-user] [JBoss jBPM] - Re: extending eclipse process designer plugin
koen.aers@jboss.com
do-not-reply at jboss.com
Mon Oct 2 05:34:08 EDT 2006
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975443#3975443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975443
More information about the jboss-user
mailing list