SkyDalTableLoadDialogpublic abstract class DalTableLoadDialog extends RegistryServiceTableLoadDialog
| Modifier | Constructor | Description |
|---|---|---|
protected |
DalTableLoadDialog(java.lang.String name,
java.lang.String protoName,
java.lang.String description,
Capability capability,
boolean showCapabilities,
boolean autoQuery) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.net.URL |
checkUrl(java.lang.String url) |
Performs syntactic checks on a string which should be a URL, and
throws an informative RuntimeException if it is not.
|
protected java.awt.Component |
createQueryComponent() |
|
RegCapabilityInterface[] |
getCapabilities(RegResource resource) |
Returns the capabilities associated with a given resource.
|
uk.ac.starlink.table.DescribedValue[] |
getMetadata(RegResource resource,
RegCapabilityInterface cap) |
Returns a list of described values for the resource
object representing a DAL service.
|
uk.ac.starlink.table.DescribedValue[] |
getResourceMetadata(java.lang.String serviceUrl) |
Returns an array of metadata items describing the resource being queried.
|
java.lang.String |
getServiceUrl() |
Returns the current contents of the service URL field.
|
javax.swing.JTextField |
getServiceUrlField() |
Returns the text field into which the user can enter the service URL.
|
boolean |
isReady() |
|
void |
setServiceUrl(java.lang.String url) |
Sets the current contents of the service URL field.
|
asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReadyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptResourceIdList, getControlBox, getQueryFactory, getRegistryMenuItems, getRegistryPanelprotected DalTableLoadDialog(java.lang.String name,
java.lang.String protoName,
java.lang.String description,
Capability capability,
boolean showCapabilities,
boolean autoQuery)
name - dialogue nameprotoName - short name (perhaps acronym) for protocoldescription - dialogue descriptioncapability - service capability typeshowCapabilities - true to display the capabilities JTable as
well as the Resource one; sensible if resource:capabilities
relationship may not be 1:1autoQuery - populate service table with full registry query
on initial displayprotected java.awt.Component createQueryComponent()
createQueryComponent in class RegistryServiceTableLoadDialogpublic boolean isReady()
isReady in class uk.ac.starlink.table.gui.AbstractTableLoadDialogpublic java.lang.String getServiceUrl()
public void setServiceUrl(java.lang.String url)
url - value to insert into service URL fieldpublic javax.swing.JTextField getServiceUrlField()
public java.net.URL checkUrl(java.lang.String url)
url - string to test for URL-nesspublic uk.ac.starlink.table.DescribedValue[] getResourceMetadata(java.lang.String serviceUrl)
serviceUrl - service URL of query
- may or may not be that of the currently selected
resource/capabilitypublic uk.ac.starlink.table.DescribedValue[] getMetadata(RegResource resource, RegCapabilityInterface cap)
resource - DAL resourcecap - DAL capability interfacepublic RegCapabilityInterface[] getCapabilities(RegResource resource)
RegistryServiceTableLoadDialoggetCapabilities in class RegistryServiceTableLoadDialogresource - registry resourceCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.