コード例 #1
0
  public void reconnectElements() {
    if (connection == null) {
      connection = new Connection(this);
    }

    if (getNestedPatterns().isEmpty()) {
      connection.connect(timerEvent, Direction.BOTTOM, placeHolder, Direction.TOP);
    } else {
      connection.connect(
          timerEvent, Direction.BOTTOM, getNestedPattern().getFirstElement(), Direction.TOP);
    }
  }