/** Defines an <code>Action</code> object with a default description string and default icon. */
 private RemovePasswordsAction() {
   putValue(Action.SMALL_ICON, IconLoader.getInstance().getRemoveIcon());
   putValue(
       Action.SHORT_DESCRIPTION,
       SettingsMessages.getInstance().getString("ShowPasswordsDialog.RemovePassword"));
   setEnabled(false);
 }
 public AlignMiddleAction() {
   putValue(Action.NAME, ActionMessages.getString("AlignMiddleAction.Text"));
   putValue(Action.SHORT_DESCRIPTION, ActionMessages.getString("AlignMiddleAction.Description"));
   putValue(Action.MNEMONIC_KEY, ActionMessages.getOptionalMnemonic("AlignMiddleAction.Mnemonic"));
   putValue(Action.SMALL_ICON, IconLoader.getInstance().getAlignMiddleIcon());
   putValue(
       Action.ACCELERATOR_KEY,
       ActionMessages.getOptionalKeyStroke("AlignMiddleAction.Accelerator"));
 }
 public ItalicsAction() {
   putValue(Action.SELECTED_KEY, Boolean.FALSE);
   putValue(Action.NAME, ActionMessages.getString("ItalicsAction.Text"));
   putValue(Action.SHORT_DESCRIPTION, ActionMessages.getString("ItalicsAction.Description"));
   putValue(Action.MNEMONIC_KEY, ActionMessages.getOptionalMnemonic("ItalicsAction.Mnemonic"));
   putValue(Action.SMALL_ICON, IconLoader.getInstance().getItalicCommand());
   putValue(
       Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("ItalicsAction.Accelerator"));
 }
    /**
     * Defines an <code>Action</code> object with a default description string and default icon.
     *
     * @param table the table.
     */
    private RemoveParameterAction(final JTable table) {
      this.model = (GroupedTableModel) table.getModel();
      this.table = table;
      putValue(Action.SMALL_ICON, IconLoader.getInstance().getRemoveIcon());
      putValue(
          Action.SHORT_DESCRIPTION, Messages.getString("DrillDownParameterTable.RemoveParameter"));
      setEnabled(false);

      table.getSelectionModel().addListSelectionListener(this);
    }
 /** Defines an <code>Action</code> object with a default description string and default icon. */
 private AddParameterAction() {
   putValue(Action.SMALL_ICON, IconLoader.getInstance().getAddIcon());
   putValue(
       Action.SHORT_DESCRIPTION, Messages.getString("DrillDownParameterTable.AddParameter"));
 }
 /** Defines an <code>Action</code> object with a default description string and default icon. */
 private RefreshParameterAction() {
   putValue(Action.SMALL_ICON, IconLoader.getInstance().getRefreshIcon());
   putValue(
       Action.SHORT_DESCRIPTION, Messages.getString("DrillDownParameterTable.RefreshParameter"));
   setEnabled(false);
 }