Package org.woped.core.model.petrinet

Examples of org.woped.core.model.petrinet.CombiOperatorTransitionModel


        // If element is a combi operator type and the element was found as a source,
        // set the secondary understandability color instead of the standard one
        if ((element.m_elementType == 1)&&
            (highlightElement instanceof CombiOperatorTransitionModel))
        {
          CombiOperatorTransitionModel combiOperator =
            (CombiOperatorTransitionModel)highlightElement;
          combiOperator.setSecondaryUnderstandabilityColor(newColor);
        }
        else
        {       
          highlightElement.setColor(newColor);
          // Special treatment for non-workflow net detection:
          // All combi operators will need to have their secondary color
          // set even though they have not been detected to work as a sink.
          // The reason is that in non-workflow net detection mode
          // there is no information about whether the operator was a source or a sink
          // so it should consistently be displayed with the same color
          if ((ConfigurationManager.getConfiguration().getAlgorithmMode() != 0)&&
            (highlightElement instanceof CombiOperatorTransitionModel))
          {
            CombiOperatorTransitionModel combiOperator =
              (CombiOperatorTransitionModel)highlightElement;
            combiOperator.setSecondaryUnderstandabilityColor(newColor);           
          }
        }
      }
      currentColorNum++;
      // infinite loop over all colors
View Full Code Here

TOP

Related Classes of org.woped.core.model.petrinet.CombiOperatorTransitionModel

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.