public abstract class RegistryServiceTableLoadDialog extends AbstractTableLoadDialog
getControlBox()
with service-specific controls and implement
the abstract
TableLoadDialog.createTableLoader()
method appropriately.Constructor and Description |
---|
RegistryServiceTableLoadDialog(String name,
String protoName,
String description,
RegistryQueryFactory queryFactory,
boolean showCapabilities)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptResourceIdList(String[] ivoids,
String msg)
Takes a list of resource ID values and may load them or a subset
into this object's dialogue as appropriate.
|
protected Component |
createQueryComponent()
Constructs the query component used by this dialogue.
|
RegCapabilityInterface[] |
getCapabilities(RegResource resource)
Returns the capabilities associated with a given resource.
|
protected JComponent |
getControlBox()
Returns the component within which service-specific components should
be placed.
|
RegistryQueryFactory |
getQueryFactory()
Returns the query factory used by this dialogue.
|
JMenuItem[] |
getRegistryMenuItems()
Returns a list of menu items for actions associated with this
component.
|
RegistryPanel |
getRegistryPanel()
Returns the registry panel for this dialogue.
|
addToolbarAction, asIOException, configure, createFormatSelector, getDescription, getIcon, getMenus, getName, getQueryComponent, getSelectedFormat, getSubmitAction, getToolbarActions, isAvailable, isComponentShowing, isReady, setIcon, setIconUrl, setMenus, setToolbarActions, submit, updateReady
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTableLoader
public RegistryServiceTableLoadDialog(String name, String protoName, 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 JMenuItem[] getRegistryMenuItems()
public boolean acceptResourceIdList(String[] ivoids, String msg)
ivoids
- ivo:-type identifier stringsmsg
- text of user-directed message to explain where the
IDs came fromprotected Component createQueryComponent()
AbstractTableLoadDialog
createQueryComponent
in class AbstractTableLoadDialog
protected JComponent getControlBox()
createQueryComponent()
.public RegistryPanel getRegistryPanel()
createQueryComponent()
.public RegCapabilityInterface[] getCapabilities(RegResource resource)
resource
- registry resourcepublic RegistryQueryFactory getQueryFactory()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.