|
||||||||||
| 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.ui.ParamGroupsEditor
public class ParamGroupsEditor
An editor for param groups
| Nested Class Summary | |
|---|---|
class |
ParamGroupsEditor.ParamGroupsTable
A JTable that holds a list of DataGroup objects and provides display and
editing capabilities |
| Field Summary | |
|---|---|
static String |
TAG_PARAM
The param xml tag name |
static String |
TAG_PARAMGROUP
The params xml tag name |
static String |
TAG_PARAMGROUPS
The params xml tag name |
| Fields inherited from class ucar.unidata.ui.WindowHolder |
|---|
contents, dialog, frame, window |
| Constructor Summary | |
|---|---|
ParamGroupsEditor(IntegratedDataViewer idv)
Create the editor with the given collection of xml resources |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
Handle the CLOSEANCEL, OK, HELP, events. |
void |
addNewRow()
add a new row to users table |
protected void |
copyToUsers(DataGroup i)
Copy the given DataGroup object into the user's editable table |
void |
doImport()
Import an xml param defaults file |
void |
doOpen()
Open an xml param defaults file |
void |
doSave(List infoList,
String filename)
Save the list of DataGroup-s into the given file |
void |
doSaveAs()
Save the param infos |
void |
doSaveAs(List infoList)
Prompt for a file and write out the DataGroup-s from the given list. |
void |
exportSelectedToPlugin()
Export the selected param infos to the plugin manager |
void |
exportToPlugin()
Export allthe param infos to the plugin manager |
ParamGroupsEditor.ParamGroupsTable |
getCurrentTable()
Return the ParamGroupsTable which is currently being shown in the tabbed pane |
List |
getDataGroups(boolean justFirst)
Get the param infos |
protected String |
getWindowTitle()
Get the window title to use |
void |
showHelp()
show help |
| Methods inherited from class ucar.unidata.ui.WindowHolder |
|---|
close, doMakeContents, getContents, getDialog, getFrame, getWindow, isShowing, removeAll, setWindowTitle, shouldMakeDialog, 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 |
|---|
public static final String TAG_PARAM
public static final String TAG_PARAMGROUPS
public static final String TAG_PARAMGROUP
| Constructor Detail |
|---|
public ParamGroupsEditor(IntegratedDataViewer idv)
idv - The IDV| Method Detail |
|---|
public void exportSelectedToPlugin()
public void exportToPlugin()
public void addNewRow()
public List getDataGroups(boolean justFirst)
justFirst - if true then just get the first table
public ParamGroupsEditor.ParamGroupsTable getCurrentTable()
public void doImport()
public void doOpen()
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListeneractionPerformed in class WindowHolderevent - The eventpublic void showHelp()
protected String getWindowTitle()
getWindowTitle in class WindowHolder
public void doSave(List infoList,
String filename)
infoList - List of infosfilename - The filename to write topublic void doSaveAs()
public void doSaveAs(List infoList)
infoList - List of DataGroup-sprotected void copyToUsers(DataGroup i)
i - the param fino object to copy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||