Package org.springframework.ide.eclipse.config.graph.model

Examples of org.springframework.ide.eclipse.config.graph.model.Transition


              Node channelRef = getDiagram().getReferencedNode(channel);
              if (channelRef != null) {
                for (Activity activity : registry) {
                  if (!(activity instanceof ParallelActivity)
                      && activity.getInput().equals(channelRef)) {
                    Transition trans = new AlternateTransition(this, activity, wiretap);
                    list.add(trans);
                  }
                }
              }
            }
View Full Code Here


    for (String label : attrs) {
      Attr attr = source.getInput().getAttributeNode(label);
      if (attr instanceof IDOMAttr) {
        Node ref = getReferencedNode(attr.getValue());
        if (ref instanceof IDOMElement && target.getInput().equals(ref)) {
          Transition trans;
          if (target instanceof ImplicitChannelModelElement) {
            if (incoming) {
              trans = new ImplicitTransition(target, source, (IDOMAttr) attr);
            }
            else {
              trans = new ImplicitTransition(source, target, (IDOMAttr) attr);
            }
          }
          else {
            if (incoming) {
              trans = new Transition(target, source, (IDOMAttr) attr);
            }
            else {
              trans = new Transition(source, target, (IDOMAttr) attr);
            }
          }
          if (!(trans instanceof ImplicitTransition) && !primary) {
            trans.setLineStyle(Transition.DASHED_CONNECTION);
          }
          transitions.add(trans);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.config.graph.model.Transition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.