Package org.woped.core.model.petrinet

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


            }
            g.setColor(this.getInnerDrawingsColor());
            // XOR JOIN Lines
            //this.drawOperatorArrow(g, false, false);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
            // XOR Split Lines
            //this.drawOperatorArrow(g, true, true);
            drawOperatorArrow2(g, t.getOperatorOppositePosition(), t.getOperatorDirection() );
           
                 
            if (isActive())
            {
              ImageIcon img = Messages.getImageIcon("TokenGame.Active");
View Full Code Here


                g.drawRect(b, b, d.width - b - 1, d.height - b - 1);
            }
            g.setColor(this.getInnerDrawingsColor());
            // XOR JOIN Lines
            //this.drawOperatorArrow(g, false, false);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
            // XOR Split Lines
            //this.drawOperatorArrow(g, true, true);
            drawOperatorArrow2(g, t.getOperatorOppositePosition(), t.getOperatorDirection() );
           
            drawTime(g2, d);
        }
View Full Code Here

   */
  public TriggerModel newTrigger(CreationMap map) {
    TransitionModel transition = (TransitionModel) getElementContainer()
        .getElementById(map.getId());
    if (transition.getToolSpecific() == null) {
      transition.setToolSpecific(new Toolspecific(transition.getId()));
    }
    return transition.getToolSpecific().setTrigger(map);

  }
View Full Code Here

  // TODO: DOCUMentation
  public TransitionResourceModel newTransResource(CreationMap map) {
    TransitionModel transition = (TransitionModel) getElementContainer()
        .getElementById(map.getId());
    if (transition.getToolSpecific() == null) {
      transition.setToolSpecific(new Toolspecific(transition.getId()));
    }
    return transition.getToolSpecific().setTransResource(map);
  }
View Full Code Here

            }
           
            g.setColor(this.getInnerDrawingsColor());
            // AND JOIN Lines
            //this.drawOperatorArrow(g, false, true);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
           
            if (isActive())
            {
              ImageIcon img = Messages.getImageIcon("TokenGame.Active");
                g2.drawImage(img.getImage(), 5, 20, 16, 16, img.getImageObserver());
View Full Code Here

                g.drawRect(b, b, d.width - b - 1, d.height - b - 1);
            }
            g.setColor(getInnerDrawingsColor());
            // AND Split Lines
            //this.drawOperatorArrow(g, true, false);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
           
            if (isActive())
            {
              ImageIcon img = Messages.getImageIcon("TokenGame.Active");
                g2.drawImage(img.getImage(), 5, 20, 16, 16, img.getImageObserver());
View Full Code Here

                g.drawRect(b, b, d.width - b - 1, d.height - b - 1);
            }
            g.setColor(this.getInnerDrawingsColor());
            // XOR JOIN Lines
            // this.drawOperatorArrow(g, false, false);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
           
           
            drawTime(g2, d);
        }
View Full Code Here

            g2.setStroke(new BasicStroke(b));
            g.setColor(getInnerDrawingsColor());
             
            // AND JOIN Lines
            //drawOperatorArrow(g,false,true);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
            // XOR Split Lines
            // drawOperatorArrow(g,true,true);
            drawOperatorArrow2(g, t.getOperatorOppositePosition(), t.getOperatorOppositeDirection() );


            if (bordercolor != null)
            {
                g.setColor(getInnerDrawingsColor());
View Full Code Here

                g.drawRect(b, b, d.width - b - 1, d.height - b - 1);
            }
            g.setColor(getInnerDrawingsColor());
            // XOR Split Lines
            //this.drawOperatorArrow(g, true, true);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
           
           
            drawTime(g2, d);
        }
View Full Code Here

            g2.setStroke(new BasicStroke(b));
            g.setColor(getInnerDrawingsColor());
             
            // XOR JOIN Lines
            //drawOperatorArrow(g,false,false);
            Toolspecific t = ((TransitionModel) getCell()).getToolSpecific();
            drawOperatorArrow2(g, t.getOperatorPosition(), t.getOperatorDirection() );
            // AND Split Lines
            // drawOperatorArrow(g,true,false);
            drawOperatorArrow2(g, t.getOperatorOppositePosition(), t.getOperatorOppositeDirection() );


            if (bordercolor != null)
            {
                g.setColor(getInnerDrawingsColor());
View Full Code Here

TOP

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

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.