Class TopcatTapTableLoadDialog

java.lang.Object
uk.ac.starlink.table.gui.AbstractTableLoadDialog
uk.ac.starlink.vo.TapTableLoadDialog
uk.ac.starlink.topcat.TopcatTapTableLoadDialog
All Implemented Interfaces:
uk.ac.starlink.table.gui.TableLoadDialog, StiltsReporter, uk.ac.starlink.vo.DalLoader

public class TopcatTapTableLoadDialog extends uk.ac.starlink.vo.TapTableLoadDialog implements StiltsReporter
TapTableLoadDialog subclass customised for use with TOPCAT.
Since:
18 Jan 2011
Author:
Mark Taylor
  • Nested Class Summary

    Nested classes/interfaces inherited from class uk.ac.starlink.vo.TapTableLoadDialog

    uk.ac.starlink.vo.TapTableLoadDialog.TapRunMode
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    acceptSkyPosition(double raDegrees, double decDegrees)
    Notifies this object of a preferred sky position to use for examples.
    void
    Adds a listener that will be messaged if the current stilts command might have changed.
     
    uk.ac.starlink.ttools.task.StiltsCommand
    Returns a stilts command corresponding to current state.
    uk.ac.starlink.table.gui.TableLoader
     
    protected uk.ac.starlink.table.TableSequence
    createTableSequence(uk.ac.starlink.table.StarTableFactory tfact, uk.ac.starlink.vo.UwsJob tapJob, uk.ac.starlink.table.DescribedValue[] tapMetadata)
     
    protected uk.ac.starlink.vo.TapQueryPanel
     
    protected uk.ac.starlink.table.StarTable
     
    void
    Removes a listener that may have been previously added.

    Methods inherited from class uk.ac.starlink.vo.TapTableLoadDialog

    addQueryActionListener, addRunningQuery, configure, createRunModes, getAuthenticateAction, getContentCoding, getCurrentTapQueryPanel, getFinderPanel, getRegistryPanel, getReloadAction, getRunMode, getTapService, getUploadLabels, getUrlHandler, getVOTableWriter, isReady, main, removeQueryActionListener, setContentCoding, setMetaPolicy, setPreferredOutputFormat, setServiceFinder, setUrlHandler, setVOTableWriter

    Methods inherited from class uk.ac.starlink.table.gui.AbstractTableLoadDialog

    addToolbarAction, asIOException, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface uk.ac.starlink.vo.DalLoader

    getMenus, setMenus

    Methods inherited from interface uk.ac.starlink.topcat.StiltsReporter

    pset
  • Constructor Details

    • TopcatTapTableLoadDialog

      public TopcatTapTableLoadDialog()
      Constructor.
  • Method Details

    • createQueryComponent

      public Component createQueryComponent()
      Overrides:
      createQueryComponent in class uk.ac.starlink.vo.TapTableLoadDialog
    • createTableLoader

      public uk.ac.starlink.table.gui.TableLoader createTableLoader()
      Specified by:
      createTableLoader in interface uk.ac.starlink.table.gui.TableLoadDialog
      Overrides:
      createTableLoader in class uk.ac.starlink.vo.TapTableLoadDialog
    • acceptResourceIdList

      public boolean acceptResourceIdList(String[] ivoids, String msg)
      Specified by:
      acceptResourceIdList in interface uk.ac.starlink.vo.DalLoader
      Overrides:
      acceptResourceIdList in class uk.ac.starlink.vo.TapTableLoadDialog
    • acceptSkyPosition

      public boolean acceptSkyPosition(double raDegrees, double decDegrees)
      Notifies this object of a preferred sky position to use for examples. If this is done, then new ADQL examples should use the provided sky position rather than some more or less arbitrary position.
      Parameters:
      raDegrees - RA in degrees
      decDegrees - Declination in degrees
    • getUploadTable

      protected uk.ac.starlink.table.StarTable getUploadTable(String upLabel)
      Overrides:
      getUploadTable in class uk.ac.starlink.vo.TapTableLoadDialog
    • createTableSequence

      protected uk.ac.starlink.table.TableSequence createTableSequence(uk.ac.starlink.table.StarTableFactory tfact, uk.ac.starlink.vo.UwsJob tapJob, uk.ac.starlink.table.DescribedValue[] tapMetadata) throws IOException
      Overrides:
      createTableSequence in class uk.ac.starlink.vo.TapTableLoadDialog
      Throws:
      IOException
    • createTapQueryPanel

      protected uk.ac.starlink.vo.TapQueryPanel createTapQueryPanel()
      Overrides:
      createTapQueryPanel in class uk.ac.starlink.vo.TapTableLoadDialog
    • addStiltsListener

      public void addStiltsListener(ActionListener listener)
      Description copied from interface: StiltsReporter
      Adds a listener that will be messaged if the current stilts command might have changed.
      Specified by:
      addStiltsListener in interface StiltsReporter
      Parameters:
      listener - listener to add
    • removeStiltsListener

      public void removeStiltsListener(ActionListener listener)
      Description copied from interface: StiltsReporter
      Removes a listener that may have been previously added.
      Specified by:
      removeStiltsListener in interface StiltsReporter
      Parameters:
      listener - listener to remove
    • createStiltsCommand

      public uk.ac.starlink.ttools.task.StiltsCommand createStiltsCommand(TopcatTableNamer tableNamer)
      Description copied from interface: StiltsReporter
      Returns a stilts command corresponding to current state.
      Specified by:
      createStiltsCommand in interface StiltsReporter
      Parameters:
      tableNamer - table namer
      Returns:
      command, or null if current state does not correspond to one