Package fbench.graph.popup

Examples of fbench.graph.popup.ECCDialog


  }
 
  private void processMouseClicked(MouseEvent evt) {
    if(isInFBench()){
      if(evt.getButton() == MouseEvent.BUTTON1 && evt.getClickCount() == 2){
        ECCDialog eccDialog = new ECCDialog(elem, evt);
        eccDialog.create("Edit Transition");
      }
      else if(evt.getButton() == MouseEvent.BUTTON3){
        ContextMenu contextMenu = new ContextMenu(getElement(), evt);
        contextMenu.create(getElement().getNodeName());
      }
View Full Code Here


      Point p = evt.getPoint();
      p.translate(this.getX(), this.getY());
      Component c = getParent().getComponentAt(p);
      if(c != null && c instanceof ECState && c != this){
        ECState other = (ECState)c;
        ECCDialog eccdialog = new ECCDialog((Element)elem.getParentNode(), evt);
        eccdialog.setSourceStateName(getName());
        eccdialog.setDestinationStateName(other.getName());
        eccdialog.create("Add Transition");
      }
    }
  }
View Full Code Here

 
  private void processMouseClicked(MouseEvent evt){
    System.out.println("[ECSTATE] mouseClicked");
    if(isInFBench()){
      if(evt.getButton() == MouseEvent.BUTTON1 && evt.getClickCount() == 2){
        ECCDialog eccDialog = new ECCDialog(elem, evt);
        eccDialog.create("Edit State");
      }
      else if(evt.getButton() == MouseEvent.BUTTON3){
        ContextMenu contextMenu = new ContextMenu(getElement(), evt);
        contextMenu.create(getElement().getNodeName());
      }
View Full Code Here

TOP

Related Classes of fbench.graph.popup.ECCDialog

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.