Package org.eclipse.sapphire.ui.diagram.actions

Examples of org.eclipse.sapphire.ui.diagram.actions.DiagramNodeAddActionHandler


    if (addAction != null)
    {
      List<SapphireActionHandler> addHandlers = addAction.getActiveHandlers();
      for (SapphireActionHandler handler : addHandlers)
      {
        DiagramNodeAddActionHandler nodeAddHandler = (DiagramNodeAddActionHandler)handler;
        if (nodeAddHandler.getNodeTemplate().equals(this.nodeTemplate))
        {
          editorPart.setMouseLocation(this.location.x, this.location.y);
          nodeAddHandler.execute(this.diagramPresentation);
          break;
        }
      }
    }
  } 
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.diagram.actions.DiagramNodeAddActionHandler

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.