Class AbstractEditableDataTableAction

    • Constructor Detail

      • AbstractEditableDataTableAction

        public AbstractEditableDataTableAction()
    • Method Detail

      • getTable

        public adams.gui.core.BaseTableWithButtons getTable()
        Returns the table.
        Returns:
        the table
      • getSelectedRows

        protected int[] getSelectedRows()
        Returns the currently selected data containers.
        Returns:
        the selected data
      • getSelectedData

        protected DataContainer[] getSelectedData()
        Returns the currently selected data containers.
        Returns:
        the selected data
      • update

        public abstract void update()
        Updates the action.
      • getData

        public DataContainerList getData()
        Returns the currently loaded data.
        Returns:
        the data
      • fireDataChange

        public void fireDataChange​(WekaInvestigatorDataEvent e)
        Notifies all the tabs that the data has changed.
        Parameters:
        e - the event to send
      • logMessage

        public void logMessage​(String msg)
        Logs the message.
        Parameters:
        msg - the log message
      • logError

        public void logError​(String msg,
                             Throwable t,
                             String title)
        Logs the exception and also displays an error dialog.
        Parameters:
        msg - the log message
        t - the exception
        title - the title for the dialog
      • logError

        public void logError​(String msg,
                             String title)
        Logs the error message and also displays an error dialog.
        Parameters:
        msg - the error message
        title - the title for the dialog
      • showStatus

        public void showStatus​(String msg)
        Displays a message.
        Specified by:
        showStatus in interface adams.core.StatusMessageHandler
        Parameters:
        msg - the message to display
      • isBusy

        public boolean isBusy()
        Returns whether the tab is busy.
        Returns:
        true if busy
      • getActions

        public static Class[] getActions()
        Returns the available actions.
        Returns:
        the action classnames