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 TypeMethodDescriptionbooleanacceptResourceIdList(String[] ivoids, String msg) booleanacceptSkyPosition(double raDegrees, double decDegrees) Notifies this object of a preferred sky position to use for examples.voidaddStiltsListener(ActionListener listener) Adds a listener that will be messaged if the current stilts command might have changed.uk.ac.starlink.ttools.task.StiltsCommandcreateStiltsCommand(TopcatTableNamer tableNamer) Returns a stilts command corresponding to current state.uk.ac.starlink.table.gui.TableLoaderprotected uk.ac.starlink.table.TableSequencecreateTableSequence(uk.ac.starlink.table.StarTableFactory tfact, uk.ac.starlink.vo.UwsJob tapJob, uk.ac.starlink.table.DescribedValue[] tapMetadata) protected uk.ac.starlink.vo.TapQueryPanelprotected uk.ac.starlink.table.StarTablegetUploadTable(String upLabel) voidremoveStiltsListener(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, setVOTableWriterMethods 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, updateReadyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface uk.ac.starlink.vo.DalLoader
getMenus, setMenusMethods inherited from interface uk.ac.starlink.topcat.StiltsReporter
pset
-
Constructor Details
-
TopcatTapTableLoadDialog
public TopcatTapTableLoadDialog()Constructor.
-
-
Method Details
-
createQueryComponent
- Overrides:
createQueryComponentin classuk.ac.starlink.vo.TapTableLoadDialog
-
createTableLoader
public uk.ac.starlink.table.gui.TableLoader createTableLoader()- Specified by:
createTableLoaderin interfaceuk.ac.starlink.table.gui.TableLoadDialog- Overrides:
createTableLoaderin classuk.ac.starlink.vo.TapTableLoadDialog
-
acceptResourceIdList
- Specified by:
acceptResourceIdListin interfaceuk.ac.starlink.vo.DalLoader- Overrides:
acceptResourceIdListin 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:
getUploadTablein 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:
createTableSequencein classuk.ac.starlink.vo.TapTableLoadDialog- Throws:
IOException
-
createTapQueryPanel
protected uk.ac.starlink.vo.TapQueryPanel createTapQueryPanel()- Overrides:
createTapQueryPanelin classuk.ac.starlink.vo.TapTableLoadDialog
-
addStiltsListener
Description copied from interface:StiltsReporterAdds a listener that will be messaged if the current stilts command might have changed.- Specified by:
addStiltsListenerin interfaceStiltsReporter- Parameters:
listener- listener to add
-
removeStiltsListener
Description copied from interface:StiltsReporterRemoves a listener that may have been previously added.- Specified by:
removeStiltsListenerin interfaceStiltsReporter- Parameters:
listener- listener to remove
-
createStiltsCommand
Description copied from interface:StiltsReporterReturns a stilts command corresponding to current state.- Specified by:
createStiltsCommandin interfaceStiltsReporter- Parameters:
tableNamer- table namer- Returns:
- command, or null if current state does not correspond to one
-