Package org.tinyuml.ui.diagram.commands

Examples of org.tinyuml.ui.diagram.commands.ResetConnectionPointsCommand


   * Resets the current connection's points.
   */
  public void resetConnectionPoints() {
    DiagramElement elem = selectionHandler.getSelectedElements().get(0);
    if (elem instanceof Connection) {
      execute(new ResetConnectionPointsCommand(this, (Connection) elem));
    }
  }
View Full Code Here


   * Resets the current connection's points.
   */
  public void resetConnectionPoints() {
    DiagramElement elem = selectionHandler.getSelectedElements().get(0);
    if (elem instanceof Connection) {
      execute(new ResetConnectionPointsCommand(this, (Connection) elem));
    }
  }
View Full Code Here

   * Resets the current connection's points.
   */
  public void resetConnectionPoints() {
    DiagramElement elem = selectionHandler.getSelectedElements().get(0);
    if (elem instanceof Connection) {
      execute(new ResetConnectionPointsCommand(this, (Connection) elem));
    }
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  @Override
  protected void setUp() {
    command = new ResetConnectionPointsCommand((DiagramEditorNotification)
      mockNotification.proxy(), (Connection) mockConnection.proxy());
    originalPoints.add(new Point2D.Double(1.0, 2.0));
    originalPoints.add(new Point2D.Double(5.0, 6.0));
  }
View Full Code Here

   * Resets the current connection's points.
   */
  public void resetConnectionPoints() {
    DiagramElement elem = selectionHandler.getSelectedElements().get(0);
    if (elem instanceof Connection) {
      execute(new ResetConnectionPointsCommand(this, (Connection) elem));
    }
  }
View Full Code Here

TOP

Related Classes of org.tinyuml.ui.diagram.commands.ResetConnectionPointsCommand

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.