Package org.asem.eclipse.mii.model.commands

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

Related Classes of org.asem.eclipse.mii.model.commands.ShapeDeleteCommand

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.