public class RegistryDialogAdjuster
extends java.lang.Object
Constructor | Description |
---|---|
RegistryDialogAdjuster(uk.ac.starlink.vo.DalLoader dalLoader,
java.lang.String resourceType,
boolean isSky) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
acceptResourceIdLists() |
Indicates whether incoming resource lists are currently being accepted.
|
boolean |
acceptSkyPositions() |
Indicates whether incoming sky positions are currently being accepted.
|
void |
adjustComponent() |
Performs various adjustments to this dialogue's query component
to make it work better in a TOPCAT window.
|
static void |
adjustRegistryPanel(uk.ac.starlink.vo.RegistryPanel regPanel,
ToggleButtonModel acceptResourceModel) |
Adjusts a registry panel for use with TOPCAT.
|
static void |
adjustSkyEntry(uk.ac.starlink.vo.SkyPositionEntry skyEntry,
ToggleButtonModel acceptPositionModel) |
Adjusts a sky entry panel for use with TOPCAT.
|
static ToggleButtonModel |
createAcceptResourceIdListModel() |
Returns a toggle model for acceping resource lists.
|
static javax.swing.JMenu |
createInteropMenu(uk.ac.starlink.vo.RegistryPanel regPanel,
java.lang.String resourceType) |
Returns an Interop menu suitable for use with a registry panel.
|
public RegistryDialogAdjuster(uk.ac.starlink.vo.DalLoader dalLoader, java.lang.String resourceType, boolean isSky)
dalLoader
- standard load dialogueresourceType
- name of resource type the dialogue's resource
list contains; must be MType subtype for
voresource.loadlist.* messageisSky
- true if the dialogue should be capable of receiving
skyPositionspublic void adjustComponent()
public boolean acceptResourceIdLists()
public boolean acceptSkyPositions()
public static ToggleButtonModel createAcceptResourceIdListModel()
public static javax.swing.JMenu createInteropMenu(uk.ac.starlink.vo.RegistryPanel regPanel, java.lang.String resourceType)
regPanel
- registry panelresourceType
- name of resource type the panel's resource
list contains; must be MType subtype for
voresource.loadlist.* messagepublic static void adjustRegistryPanel(uk.ac.starlink.vo.RegistryPanel regPanel, ToggleButtonModel acceptResourceModel)
regPanel
- registry panel to adjustacceptResourceModel
- toggler for resource list acceptancepublic static void adjustSkyEntry(uk.ac.starlink.vo.SkyPositionEntry skyEntry, ToggleButtonModel acceptPositionModel)
skyEntry
- sky entry panel to adjustacceptPositionModel
- toggler for sky position acceptanceCopyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.