<page id="org.jbpm.ui.DecisionWhateverPage" name="Whatever" objectClass="org.jbpm.ui.model.Decision" class="org.jbpm.ui.properties.DecisionWhateverPropertyPage"> </page>
This would be the way to contribute the page to a decision node. I am by the way very interested in this extension. I assume this will be usable for all jbpm users that use decision nodes. Would you mind to contribute it so that it gets included in the distribution?
Ok, so that code is what I am doing. When I right click on the decision node and select properties I do not see the new "Whatever" page. ..
I will keep trying today. My page class must be missing something...
I actually have another quick question for you. In the NodeHeaderFigure class, or any class for that matter, is there a way to get a specific node object instead of just the name and type. Is there a class taht will return a node given a name or type? I looked but could not see such a method anywhere?
No, you want to ask that info to the NodeEditPart (the controller), which has a reference to its model.