Package vg.core.event

Examples of vg.core.event.UIEventDeleteConnection


  public void closeAIF(final UIEventCloseAIF aif) {
    synchronized (theMutexObject) {
      for(UIEventCreateNewConnection buf : this.connections) {
        if(aif != null && buf.getFileId() == aif.getFileId()) {
          this.connections.remove(buf);
          UIEventDeleteConnection event = new UIEventDeleteConnection(buf.getConnectionId());
          this.param.userInterface.addEvent(event);
          break;
        }
      }
    }
View Full Code Here


    public DeleteListener(int connectionId, final PluginParameter param) {
      this.param = param;
      this.connectionId = connectionId;
    }
    public void actionPerformed(ActionEvent e) {
      UIEventDeleteConnection event = new UIEventDeleteConnection(this.connectionId);
      this.param.userInterface.addEvent(event);
    }
View Full Code Here

        }
        if(connectionId < 0) {
          UIEventCreateNewConnection event = new UIEventCreateNewConnection(getNextId(), locConnectName, locAnchor, locGraphId, locGraphName, fileId);
          param.userInterface.addEvent(event);             
        } else {
          UIEventDeleteConnection event1 = new UIEventDeleteConnection(connectionId);
          param.userInterface.addEvent(event1);
          UIEventCreateNewConnection event2 = new UIEventCreateNewConnection(connectionId, locConnectName, locAnchor, locGraphId, locGraphName, fileId);
          param.userInterface.addEvent(event2);
        }
        Connector.this.setVisible(false);       
View Full Code Here

            addNewConnect(bufEvent.getConnectionId(), bufEvent.getConnectionName(), bufEvent.getGraphId(), bufEvent.getAnchor());
            break;
          }
          case DEF_DELETE_CONNECT:
          {
            UIEventDeleteConnection bufEvent = (UIEventDeleteConnection)event;
            removeConnect(bufEvent.getConnectId());
            break;
          }
          case DEF_CHANGE_UI_STYLE:
          {
            updateUITheme();
View Full Code Here

TOP

Related Classes of vg.core.event.UIEventDeleteConnection

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.