/**
   * null if you cannot provide a title that is present in the resources. Use the setName method to
   * set your not translateble title after that. give a resource name for the icon.
   */
  protected NodeGeneralAction(
      MindMapController modeController, final String textID, String iconPath) {
    super(
        null,
        iconPath != null ? new ImageIcon(modeController.getResource(iconPath)) : null,
        modeController);
    this.modeController = modeController;
    if (textID != null) {
      setName(modeController.getText(textID));
    }

    this.singleNodeOperation = null;
    this.actor = null;
    if (logger == null) {
      logger = modeController.getFrame().getLogger(this.getClass().getName());
    }
  }