[jboss-dev-forums] [Design of JBoss jBPM] - Re: Bold Transitions in Workflow-Designer
kukeltje
do-not-reply at jboss.com
Fri Feb 29 05:44:27 EST 2008
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#4133147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133147
More information about the jboss-dev-forums
mailing list