|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.unidata.ui.WindowHolder
ucar.unidata.idv.IdvManager
ucar.unidata.idv.chooser.IdvChooserManager
edu.wisc.ssec.mcidasv.chooser.McIdasChooserManager
public class McIdasChooserManager
This creates and manages the set of choosers.
It makes the chooser GUI from an xml specification
e.g.: /ucar/unidata/idv/resources/choosers.xml
It uses the XmlUi
to process
the xml.
This class also processes the end-user created choosers. This piece has always been a bit flaky
Field Summary | |
---|---|
private List |
addeServers
All of the adde servers |
private static boolean |
myServers
|
Fields inherited from class ucar.unidata.idv.chooser.IdvChooserManager |
---|
ATTR_CHOOSERID, ATTR_CLASS, ATTR_DATASOURCE, ATTR_DOPOLLING, ATTR_HELPPATH, ATTR_LABEL, ATTR_MENUTITLE, ATTR_PATH, ATTR_PATTERN, ATTR_POLLINTERVAL, ATTR_SHOWINMENU, ATTR_TITLE, PROP_CHOOSER_TREEVIEW, PROP_CHOOSER_TREEVIEW_USESPLITPANE, PROP_CHOOSER_TREEVIEW_WIDTH, TAG_DIRECTORY, TAG_LABEL, TAG_TAB |
Fields inherited from class ucar.unidata.ui.WindowHolder |
---|
contents, dialog, frame, window |
Constructor Summary | |
---|---|
McIdasChooserManager(IntegratedDataViewer idv)
Create a new IdvChooserManager. |
Method Summary | |
---|---|
JComponent |
createChoosers(boolean inTabs)
Create the Choosers component from the choosers.xml resources |
protected XmlUi |
createXmlUi(Element root)
Creates a new McIDASVXmlUi that can create the UI described in
root . |
List |
getAddeServers(String groupType)
Get AddeServers to use |
List |
getAddeServers(String groupType,
boolean onlyActive)
Get AddeServers to use |
List |
initializeAddeServers(IntegratedDataViewer idv)
Initialize addeServers list |
List |
initializeAddeServers(IntegratedDataViewer idv,
boolean allServers)
Initialize addeServers list |
Methods inherited from class ucar.unidata.ui.WindowHolder |
---|
actionPerformed, close, doMakeContents, getContents, getDialog, getFrame, getWindow, isShowing, removeAll, setMenuBar, setWindowTitle, show, show, showModal, toFront, windowIsClosing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private List addeServers
private static boolean myServers
Constructor Detail |
---|
public McIdasChooserManager(IntegratedDataViewer idv)
idv
- The singleton IDVMethod Detail |
---|
public JComponent createChoosers(boolean inTabs)
createChoosers
in class IdvChooserManager
inTabs
- Do we use the buttontabbedpane or the treepanel
public List initializeAddeServers(IntegratedDataViewer idv)
protected XmlUi createXmlUi(Element root)
McIDASVXmlUi
that can create the UI described in
root
.
createXmlUi
in class IdvChooserManager
root
- XML description of a GUI component.
McIDASVXmlUi
to use for creating root
.public List initializeAddeServers(IntegratedDataViewer idv, boolean allServers)
public List getAddeServers(String groupType)
getAddeServers
in class IdvChooserManager
groupType
- If null return all, else return the servers that have groups of the given type
public List getAddeServers(String groupType, boolean onlyActive)
getAddeServers
in class IdvChooserManager
groupType
- If null return all, else return the servers that have groups of the given typeonlyActive
- If true then only fetch the active servers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |