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

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


   * @see DirectEditPolicy#getDirectEditCommand(org.eclipse.gef.requests.DirectEditRequest)
   */
  @Override
  protected Command getDirectEditCommand(DirectEditRequest request) {
    Activity source = (Activity) getHost().getModel();
    RenameActivityCommand cmd = new RenameActivityCommand(source.getDiagram().getTextEditor());
    cmd.setSource(source);
    cmd.setOldName(((Activity) getHost().getModel()).getName());
    cmd.setName((String) request.getCellEditor().getValue());
    return cmd;
  }
View Full Code Here

TOP

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

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.