Class SubsetConsumerDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SubsetConsumerDialog extends JPanel
Dialogue window which asks the user what to do with a newly created row subset.

This component is used in a modal fashion despite the general prejudice in TOPCAT against modal dialogues, since at present some of the code which invokes it does so using data which may become out of date if further user GUI activity takes place.

Since:
11 Dec 2008
Author:
Mark Taylor
See Also:
  • Constructor Details

    • SubsetConsumerDialog

      public SubsetConsumerDialog(TopcatModel tcModel, TopcatCommunicator communicator)
      Constructor.
      Parameters:
      tcModel - table for which table was generated
      communicator - interop abstraction object
  • Method Details

    • enquireConsumer

      public SubsetConsumer enquireConsumer(Component parent)
      Asks the user what should be done with a subset. Blocks until a response is available.
      Parameters:
      parent - dialogue parent component
      Returns:
      consumer object, or null for no action