Package uk.ac.starlink.topcat
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 -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptResourceIdList
(String[] ivoids, String msg) boolean
acceptSkyPosition
(double raDegrees, double decDegrees) Notifies this object of a preferred sky position to use for examples.void
addStiltsListener
(ActionListener listener) Adds a listener that will be messaged if the current stilts command might have changed.uk.ac.starlink.ttools.task.StiltsCommand
createStiltsCommand
(TopcatTableNamer tableNamer) 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
getUploadTable
(String upLabel) void
removeStiltsListener
(ActionListener listener) 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
- Overrides:
createQueryComponent
in classuk.ac.starlink.vo.TapTableLoadDialog
-
createTableLoader
public uk.ac.starlink.table.gui.TableLoader createTableLoader()- Specified by:
createTableLoader
in interfaceuk.ac.starlink.table.gui.TableLoadDialog
- Overrides:
createTableLoader
in classuk.ac.starlink.vo.TapTableLoadDialog
-
acceptResourceIdList
- Specified by:
acceptResourceIdList
in interfaceuk.ac.starlink.vo.DalLoader
- Overrides:
acceptResourceIdList
in classuk.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 degreesdecDegrees
- Declination in degrees
-
getUploadTable
- Overrides:
getUploadTable
in classuk.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 classuk.ac.starlink.vo.TapTableLoadDialog
- Throws:
IOException
-
createTapQueryPanel
protected uk.ac.starlink.vo.TapQueryPanel createTapQueryPanel()- Overrides:
createTapQueryPanel
in classuk.ac.starlink.vo.TapTableLoadDialog
-
addStiltsListener
Description copied from interface:StiltsReporter
Adds a listener that will be messaged if the current stilts command might have changed.- Specified by:
addStiltsListener
in interfaceStiltsReporter
- Parameters:
listener
- listener to add
-
removeStiltsListener
Description copied from interface:StiltsReporter
Removes a listener that may have been previously added.- Specified by:
removeStiltsListener
in interfaceStiltsReporter
- Parameters:
listener
- listener to remove
-
createStiltsCommand
Description copied from interface:StiltsReporter
Returns a stilts command corresponding to current state.- Specified by:
createStiltsCommand
in interfaceStiltsReporter
- Parameters:
tableNamer
- table namer- Returns:
- command, or null if current state does not correspond to one
-