Package org.eclipse.gmf.runtime.diagram.core.commands

Examples of org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand.execute()


      // edit part?
      IGraphicalEditPart contained = elementContainedWithin(selected, diagramEditPart);
      if (contained != null) {
        // it is: delete the node from the current display               
        DeleteCommand command2 = new DeleteCommand(editingDomain, contained.getPrimaryView());
        command2.execute(monitor, info);
      }
    }
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.