DalTableLoadDialog
public abstract class RegistryServiceTableLoadDialog
extends uk.ac.starlink.table.gui.AbstractTableLoadDialog
getControlBox()
with service-specific controls and implement
the abstract
TableLoadDialog.createTableLoader()
method appropriately.Constructor | Description |
---|---|
RegistryServiceTableLoadDialog(java.lang.String name,
java.lang.String protoName,
java.lang.String description,
RegistryQueryFactory queryFactory,
boolean showCapabilities) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
acceptResourceIdList(java.lang.String[] ivoids,
java.lang.String msg) |
Takes a list of resource ID values and may load them or a subset
into this object's dialogue as appropriate.
|
protected java.awt.Component |
createQueryComponent() |
|
RegCapabilityInterface[] |
getCapabilities(RegResource resource) |
Returns the capabilities associated with a given resource.
|
protected javax.swing.JComponent |
getControlBox() |
Returns the component within which service-specific components should
be placed.
|
RegistryQueryFactory |
getQueryFactory() |
Returns the query factory used by this dialogue.
|
javax.swing.JMenuItem[] |
getRegistryMenuItems() |
Returns a list of menu items for actions associated with this
component.
|
RegistryPanel |
getRegistryPanel() |
Returns the registry panel for this dialogue.
|
asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, isReady, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady
public RegistryServiceTableLoadDialog(java.lang.String name, java.lang.String protoName, java.lang.String description, RegistryQueryFactory queryFactory, boolean showCapabilities)
name
- dialogue nameprotoName
- short name (perhaps acronym) for protocoldescription
- dialogue descriptionqueryFactory
- source of registry query definitionshowCapabilities
- true to display the capabilities JTable as
well as the Resource one; sensible if resource:capabilities
relationship may not be 1:1public javax.swing.JMenuItem[] getRegistryMenuItems()
public boolean acceptResourceIdList(java.lang.String[] ivoids, java.lang.String msg)
ivoids
- ivo:-type identifier stringsmsg
- text of user-directed message to explain where the
IDs came fromprotected java.awt.Component createQueryComponent()
createQueryComponent
in class uk.ac.starlink.table.gui.AbstractTableLoadDialog
protected javax.swing.JComponent getControlBox()
createQueryComponent()
.public RegistryPanel getRegistryPanel()
createQueryComponent()
.public RegCapabilityInterface[] getCapabilities(RegResource resource)
resource
- registry resourcepublic RegistryQueryFactory getQueryFactory()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.