Example #1
0
  /**
   * {@inheritDoc}
   *
   * <p>Un-install the last UC notation diagram's listeners, sets the UNDO & REDO action as disable
   * and makes the actualUCDiagramModel variable null (actual UC notation diagram is none).
   */
  public void over() {
    if (actualUCDiagramModel != null) {
      actualUCDiagramModel.uninstallUndoActions();
    } else {
      LOG.error(
          "over() method of UC notation workspace has been invoked, but there hasn't been set any"
              + "actual UC notation diagram before.");
    }

    if (actualProjectDiagram != null) {
      actualProjectDiagram.removeChangeListener(this);
    }
  }