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

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


  }

  @Override
  protected Command getReconnectTargetCommand(ReconnectRequest request) {
    Activity target = getActivity();
    ReconnectFixedTargetCommand cmd = new ReconnectFixedTargetCommand(target.getDiagram().getTextEditor());
    ConnectionAnchor anchor = getActivityPart().getTargetConnectionAnchor(request);
    if (anchor instanceof FixedConnectionAnchor) {
      FixedConnectionAnchor fixedAnchor = (FixedConnectionAnchor) anchor;
      cmd.setTargetAnchor(fixedAnchor);
    }
    cmd.setTransition((Transition) request.getConnectionEditPart().getModel());
    cmd.setTarget(target);
    return cmd;
  }
View Full Code Here

TOP

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

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.