Package org.springframework.ide.eclipse.config.graph.model.commands

Examples of org.springframework.ide.eclipse.config.graph.model.commands.DeleteCommand


   * @see ComponentEditPolicy#createDeleteCommand(org.eclipse.gef.requests.GroupRequest)
   */
  @Override
  protected Command createDeleteCommand(GroupRequest deleteRequest) {
    StructuredActivity parent = (StructuredActivity) (getHost().getParent().getModel());
    DeleteCommand deleteCmd = new DeleteCommand(parent.getDiagram().getTextEditor());
    deleteCmd.setParent(parent);
    deleteCmd.setChild((Activity) (getHost().getModel()));
    return deleteCmd;
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.config.graph.model.commands.DeleteCommand

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.