Package org.gvt.command

Examples of org.gvt.command.DeleteConnectionCommand


      }
      // else if it is an edge, DeleteConnectionCommand is called
      else if (childEditPart instanceof ChsEdgeEditPart)
      {
        {
          DeleteConnectionCommand command
            = new DeleteConnectionCommand();
          command.setConnectionModel(childEditPart.getModel());
          command.execute();
        }
      }
    }
  }
View Full Code Here


  /* (�� Javadoc)
   * @see org.eclipse.gef.editpolicies.ConnectionEditPolicy#getDeleteCommand(org.eclipse.gef.requests.GroupRequest)
   */
  protected Command getDeleteCommand(GroupRequest request)
  {
    DeleteConnectionCommand command = new DeleteConnectionCommand();
    command.setConnectionModel(getHost().getModel());
    return command;
  }
View Full Code Here

TOP

Related Classes of org.gvt.command.DeleteConnectionCommand

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.