Examples of ShapeDeleteCommand


Examples of org.asem.eclipse.mii.model.commands.ShapeDeleteCommand

   */
  protected Command createDeleteCommand(GroupRequest deleteRequest) {
    Object parent = getHost().getParent().getModel();
    Object child = getHost().getModel();
    if (parent instanceof ShapesDiagram && child instanceof AbstractModelShape) {
      return new ShapeDeleteCommand((ShapesDiagram) parent, (AbstractModelShape) child);
    }
    return super.createDeleteCommand(deleteRequest);
  }
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.