Class MultiSavePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MultiSavePanel extends SavePanel
Save panel for saving multiple tables to the same container file.
Since:
15 Jul 2010
Author:
Mark Taylor
See Also:
  • Constructor Details

    • MultiSavePanel

      public MultiSavePanel(uk.ac.starlink.table.StarTableOutput sto)
      Constructor.
      Parameters:
      sto - output marshaller
  • Method Details

    • getTables

      public uk.ac.starlink.table.StarTable[] getTables()
      Description copied from class: SavePanel
      Returns the tables chosen by the user from this panel to save.
      Specified by:
      getTables in class SavePanel
      Returns:
      tables to save
    • setActiveChooser

      public void setActiveChooser(uk.ac.starlink.table.gui.TableSaveChooser chooser)
      Description copied from class: SavePanel
      Configures the chooser currently controlling this panel. The supplied chooser will be null if this panel is not active. This panel should take the responsibility for setting the chooser's enabledness for as long as it is active.
      Specified by:
      setActiveChooser in class SavePanel
      Parameters:
      chooser - controlling save chooser, or null
    • createSelectAllAction

      public static Action createSelectAllAction(TopcatModelSelectionTable tSelector, boolean isSelect)
      Returns an action which will select or deselect all of the tables for saving.
      Parameters:
      tSelector - table selection model
      isSelect - true for wholesale selection, false for deselection
      Returns:
      action