This content has been marked as final.
Show 4 replies
-
1. Re: New GPD Property Page
koen.aers Apr 11, 2006 10:57 AM (in response to mattjackson86)Matt,
<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?
Regards,
Koen -
2. Re: New GPD Property Page
mattjackson86 Apr 11, 2006 12:09 PM (in response to mattjackson86)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... -
3. Re: New GPD Property Page
mattjackson86 Apr 11, 2006 12:36 PM (in response to mattjackson86)Koen,
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?
Thanks again -
4. Re: New GPD Property Page
koen.aers Apr 11, 2006 12:45 PM (in response to mattjackson86)No, you want to ask that info to the NodeEditPart (the controller), which has a reference to its model.
Regards,
Koen