I had a quick look out of curiosity and changing the getText() method in
org.jbpm.gd.jpdl.part.TransitionOutlineEditPart to
protected String getText() {
|
| String defaultTransitionName = null;
| String transitionName = getTransition().getName();
|
| transitionName = transitionName == null ? "transition" : transitionName;
|
| if (getTransition().getFrom().getLeavingTransitionsList().size() > 1) {
| defaultTransitionName =
getTransition().getFrom().getDefaultLeavingTransition().getName();
| defaultTransitionName = defaultTransitionName == null ? "transition" :
defaultTransitionName;
| }
|
| if (defaultTransitionName.equals(getTransition().getName())) {
| return transitionName + "\n<default>";
| } else {
| return transitionName;
| }
| }
Might already do something.
(not tested, not even to java correctness)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133147#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...