/** {@inheritDoc} */
  @Override
  public void performRequest(Request request) {
    Relation relation = (Relation) this.getModel();

    if (request.getType().equals(RequestConstants.REQ_OPEN)) {
      Relation copy = relation.copy();

      RelationDialog dialog =
          new RelationDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), copy);

      if (dialog.open() == IDialogConstants.OK_ID) {
        ChangeRelationPropertyCommand command = new ChangeRelationPropertyCommand(relation, copy);
        this.execute(command);
      }
    }

    super.performRequest(request);
  }