|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.gui.AbstractTableLoadDialog
uk.ac.starlink.vo.RegistryServiceTableLoadDialog
uk.ac.starlink.vo.DalTableLoadDialog
uk.ac.starlink.vo.TapTableLoadDialog
public class TapTableLoadDialog
Load dialogue for TAP services.
Constructor Summary | |
---|---|
TapTableLoadDialog()
Constructor. |
Method Summary | |
---|---|
void |
addRunningQuery(UwsJob tapJob)
Adds a running TAP query to the list of queries this dialogue is currently aware of. |
protected Component |
createQueryComponent()
Constructs the query component used by this dialogue. |
TableLoader |
createTableLoader()
Returns a new object which specifies how table loading is to be performed. |
protected TableSequence |
createTableSequence(StarTableFactory tfact,
UwsJob tapJob,
DescribedValue[] tapMeta)
Returns a table sequence constructed from a given TAP query. |
protected TapQueryPanel |
createTapQueryPanel()
Creates a new TapQueryPanel. |
protected StarTable |
getUploadTable(String upLabel)
Returns a table named by an upload specifier in an ADQL query. |
boolean |
isReady()
Indicates whether the submit action should be enabled. |
Methods inherited from class uk.ac.starlink.vo.DalTableLoadDialog |
---|
checkUrl, getCapabilities, getMetadata, getResourceMetadata, getServiceUrl, getServiceUrlField, setServiceUrl |
Methods inherited from class uk.ac.starlink.vo.RegistryServiceTableLoadDialog |
---|
acceptResourceIdList, getControlBox, getQueryFactory, getRegistryMenuItems, getRegistryPanel |
Methods inherited from class uk.ac.starlink.table.gui.AbstractTableLoadDialog |
---|
asIOException, configure, 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 |
Constructor Detail |
---|
public TapTableLoadDialog()
Method Detail |
---|
protected Component createQueryComponent()
AbstractTableLoadDialog
createQueryComponent
in class DalTableLoadDialog
protected StarTable getUploadTable(String upLabel)
upLabel
- name part of an uploaded table specification,
that is the part following the "TAP_UPLOAD." part
upLabel
public TableLoader createTableLoader()
TableLoadDialog
If the dialogue is not in a suitable state, either return null, or, if you want to provide more detailed information about what's wrong, throw a RuntimeException with an informative message.
public void addRunningQuery(UwsJob tapJob)
tapJob
- UWS job representing TAP queryprotected TableSequence createTableSequence(StarTableFactory tfact, UwsJob tapJob, DescribedValue[] tapMeta) throws IOException
tfact
- table factorytapJob
- UWS job representing async TAP querytapMeta
- metadata describing the query suitable for
decorating the resulting table
IOException
protected TapQueryPanel createTapQueryPanel()
public boolean isReady()
AbstractTableLoadDialog
The default implementation returns true.
isReady
in class DalTableLoadDialog
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |