|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.IdvBase
public abstract class IdvBase
This is the base class for the IntegratedDataViewer. It holds a set of managers (e.g., IdvUIManager, DataManager) and has methods to create them and get them. These factory could be overwritten by derived classes to create their own kind of manager or editor or so some different initialization.
| Field Summary | |
|---|---|
protected AliasEditor |
aliasEditor
The data alias editor |
protected String[] |
args
Command line arguments |
protected ArgsManager |
argsManager
The command line argument manager |
protected AutoDisplayEditor |
autoDisplayEditor
The data alias editor |
protected IdvChooserManager |
chooserManager
The chooser manager |
protected CollabManager |
collabManager
Handles collaboration and the event capture |
protected ColorTableEditor |
colorTableEditor
The color table editor. |
protected ColorTableManager |
colorTableManager
The color table manager. |
protected DataManager |
dataManager
The data manager |
protected DisplayConventions |
displayConventions
Handles the different display conventions |
protected IntegratedDataViewer |
idv
The idv. |
protected ImageGenerator |
imageGenerator
Handles generating images, movies, etc. |
protected InstallManager |
installManager
Handles reinstalling the IDV |
protected JythonManager |
jythonManager
The jython manager |
protected ParamDefaultsEditor |
paramDefaultsEditor
The parameter defaults editor |
protected ParamGroupsEditor |
paramGroupsEditor
The parameter defaults editor |
protected IdvPersistenceManager |
persistenceManager
Handles bundle writing |
protected PluginManager |
pluginManager
The plugin manager |
protected IdvPreferenceManager |
preferenceManager
Handles the end user preferences |
protected IdvProjectionManager |
projectionManager
The porojection manager |
protected PublishManager |
publishManager
Handles doing publishing of content |
protected IdvResourceManager |
resourceManager
The resource manager |
protected ResourceViewer |
resourceViewer
_more_ |
protected StateManager |
stateManager
Handles properties, etc. |
protected StationModelManager |
stationModelManager
The station model manager |
protected ucar.unidata.idv.test.TestManager |
testManager
Handles running tests, creating test archives, etc. |
protected IdvUIManager |
uiManager
Handles creating user interfaces, etc. |
protected VMManager |
vmManager
The manager of ViewManagers |
| Constructor Summary | |
|---|---|
IdvBase(String[] args)
Create the IdvBase |
|
| Method Summary | |
|---|---|
static void |
addPluginClass(Class c)
Add a class that was loaded in via the plugin mechanism. |
Element |
createElement(XmlEncoder encoder)
Implement the XmlPersistable createElement method, just return null since we don't really want to be persisted. |
protected AliasEditor |
doMakeAliasEditor()
Factory method to create the AliasEditor |
protected ArgsManager |
doMakeArgsManager(String[] args)
Factory method to create the ArgsManager |
protected AutoDisplayEditor |
doMakeAutoDisplayEditor()
Factory method to create the AutoDisplayEditor |
protected CollabManager |
doMakeCollabManager()
Factory method to create the CollabManager |
protected ColorTableEditor |
doMakeColorTableEditor()
Factory method to create the ColorTableEditor |
protected ColorTableManager |
doMakeColorTableManager()
Factory method to create the ColorTableManager |
protected DataManager |
doMakeDataManager()
Factory method to create the DataManager |
protected DisplayConventions |
doMakeDisplayConventions()
Factory method to create the DisplayConventions |
protected IdvChooserManager |
doMakeIdvChooserManager()
Factory method to create the IdvChooserManager |
protected IdvProjectionManager |
doMakeIdvProjectionManager()
Factory method to create the ProjectionManager |
protected IdvUIManager |
doMakeIdvUIManager()
Factory method to create the IdvUIManager |
protected ImageGenerator |
doMakeImageGenerator()
Factory method to create the ImageGenerator |
protected InstallManager |
doMakeInstallManager()
Factory method to create the InstallManager. |
protected JythonManager |
doMakeJythonManager()
Factory method to create the JythonManager |
protected ParamDefaultsEditor |
doMakeParamDefaultsEditor()
Factory method to create the ParamDefaultsEditor |
protected ParamGroupsEditor |
doMakeParamGroupsEditor()
Factory method to create the ParamGroupsEditor |
protected IdvPersistenceManager |
doMakePersistenceManager()
Factory method to create the IdvPersistenceManager |
protected PluginManager |
doMakePluginManager()
Factory method to create the PluginManager |
protected IdvPreferenceManager |
doMakePreferenceManager()
Factory method to create the IdvPreferenceManager |
protected PublishManager |
doMakePublishManager()
Factory method to create the PublishManager
This manages publishing content to weblogs, etc. |
protected IdvResourceManager |
doMakeResourceManager()
Factory method to create the IdvResourceManager |
protected ResourceViewer |
doMakeResourceViewer()
_more_ |
protected StateManager |
doMakeStateManager()
Factory method to create the StateManager. |
protected StationModelManager |
doMakeStationModelManager()
Factory method to create the StationModelManager |
protected ucar.unidata.idv.test.TestManager |
doMakeTestManager()
Factory method to create the TestManager. |
protected VMManager |
doMakeVMManager()
Factory method to create the VMManager. |
AliasEditor |
getAliasEditor()
Create, if needed, and return the AliasEditor |
ArgsManager |
getArgsManager()
Create, if needed, and return the ArgsManager |
AutoDisplayEditor |
getAutoDisplayEditor()
Create, if needed, and return the AutoDisplayEditor |
CollabManager |
getCollabManager()
Create, if needed, and return the CollabManager |
Color |
getColorProperty(String name,
Color dflt)
Utility method to retrieve a String property from the idv properties. |
ColorTableEditor |
getColorTableEditor()
Create, if needed, and return the ColorTableEditor |
ColorTableManager |
getColorTableManager()
Create, if needed, and return the ColorTableManager |
DataManager |
getDataManager()
Create, if needed, and return the DataManager. |
DisplayConventions |
getDisplayConventions()
Create, if needed, and return the DisplayConventions. |
protected XmlEncoder |
getEncoder()
|
IntegratedDataViewer |
getIdv()
Get the IDV |
IdvChooserManager |
getIdvChooserManager()
Create, if needed, and return the IdvChooserManager |
IdvProjectionManager |
getIdvProjectionManager()
Create, if needed, and return the ProjectionManager |
IdvUIManager |
getIdvUIManager()
Create, if needed, and return the IdvUIManager |
ImageGenerator |
getImageGenerator()
Create, if needed, and return the ImageGenerator |
InstallManager |
getInstallManager()
Create, if needed, and return the InstallManager |
JythonManager |
getJythonManager()
Create, if needed, and return the JythonManager |
XmlObjectStore |
getObjectStore()
This simply returns the call to getStore. |
ParamDefaultsEditor |
getParamDefaultsEditor()
Create, if needed, and return the ParamDefaultsEditor |
ParamGroupsEditor |
getParamGroupsEditor()
Create, if needed, and return the ParamGroupsEditor |
IdvPersistenceManager |
getPersistenceManager()
Get the persistence manager |
PluginManager |
getPluginManager()
Create, if needed, and return the IdvResourceManager |
Object |
getPreference(String pref)
Helper method that wraps getStore().get (pref) |
Object |
getPreference(String pref,
Object dflt)
Helper method that wraps getStore().get (pref) |
IdvPreferenceManager |
getPreferenceManager()
Create, if needed, and return the IdvPreferenceManager |
boolean |
getProperty(String name,
boolean dflt)
Utility method to retrieve a boolean property from the idv properties. |
double |
getProperty(String name,
double dflt)
Utility method to retrieve an int property from the idv properties. |
int |
getProperty(String name,
int dflt)
Utility method to retrieve an int property from the idv properties. |
String |
getProperty(String name,
String dflt)
Utility method to retrieve a String property from the idv properties. |
PublishManager |
getPublishManager()
Create, if needed, and return PublishManager |
IdvResourceManager |
getResourceManager()
Create, if needed, and return the IdvResourceManager |
ResourceViewer |
getResourceViewer()
Create, if needed, and return the AliasEditor |
StateManager |
getStateManager()
Create, if needed, and return the StateManager |
StationModelManager |
getStationModelManager()
Create, if needed, and return the StationModelManager |
IdvObjectStore |
getStore()
Create the IdvObjectStore (if null) and return it. |
ucar.unidata.idv.test.TestManager |
getTestManager()
Create, if needed, and return the TestManager. |
VMManager |
getVMManager()
Create, if needed, and return the VMManager. |
boolean |
haveCollabManager()
Do we have a non-null collab manager |
boolean |
initFromXml(XmlEncoder encoder,
Element element)
Just needed so we can implement XmlPersistable |
protected Object |
makeManager(Class managerClass,
Object[] args)
Utility to make a manager class. |
protected void |
setIdv(IntegratedDataViewer idv)
Set the reference to the idv. |
void |
showAliasEditor()
Show the alias editor |
void |
showAutoDisplayEditor()
Show the alias editor |
void |
showChooser()
Call show on the IdvChooserManager |
void |
showChooserModal()
Call show on the IdvChooserManager |
void |
showColorTableEditor()
Show the color table editor |
void |
showColorTableEditor(String colorTableName)
Show the color table editor with the color table with the given name (if non-null) |
void |
showDefaultsEditor()
Show the param defaults editor |
void |
showIdvProjectionManager()
Show the alias editor |
void |
showParamGroupsEditor()
Show the param defaults editor |
void |
showPreferenceManager()
Create (if null) and popup the user preference dialog window. |
void |
showResourceViewer()
Show the alias editor |
void |
showStationModelEditor()
Show the station model editor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IntegratedDataViewer idv
protected String[] args
protected IdvResourceManager resourceManager
protected PluginManager pluginManager
protected VMManager vmManager
protected PublishManager publishManager
protected IdvPersistenceManager persistenceManager
protected DisplayConventions displayConventions
protected ArgsManager argsManager
protected ColorTableEditor colorTableEditor
protected ColorTableManager colorTableManager
protected StationModelManager stationModelManager
protected AliasEditor aliasEditor
protected ResourceViewer resourceViewer
protected IdvProjectionManager projectionManager
protected AutoDisplayEditor autoDisplayEditor
protected JythonManager jythonManager
protected ParamDefaultsEditor paramDefaultsEditor
protected ParamGroupsEditor paramGroupsEditor
protected IdvChooserManager chooserManager
protected DataManager dataManager
protected CollabManager collabManager
protected IdvPreferenceManager preferenceManager
protected ucar.unidata.idv.test.TestManager testManager
protected IdvUIManager uiManager
protected ImageGenerator imageGenerator
protected StateManager stateManager
protected InstallManager installManager
| Constructor Detail |
|---|
public IdvBase(String[] args)
args - Command line arguments| Method Detail |
|---|
protected void setIdv(IntegratedDataViewer idv)
idv - The IDVpublic IntegratedDataViewer getIdv()
public static void addPluginClass(Class c)
c - The class
protected Object makeManager(Class managerClass,
Object[] args)
managerClass - Class to instantiateargs - Args to pass in. May be null.
protected StationModelManager doMakeStationModelManager()
StationModelManager
public StationModelManager getStationModelManager()
StationModelManager
public void showStationModelEditor()
protected ArgsManager doMakeArgsManager(String[] args)
ArgsManager
args - The command lint arguments
public IdvPersistenceManager getPersistenceManager()
protected IdvPersistenceManager doMakePersistenceManager()
IdvPersistenceManager
public ArgsManager getArgsManager()
ArgsManager
protected DataManager doMakeDataManager()
DataManager
public DataManager getDataManager()
DataManager. This
manages the creation and manipulation of the
data sources.
protected DisplayConventions doMakeDisplayConventions()
DisplayConventions
public DisplayConventions getDisplayConventions()
DisplayConventions. This
manages the creation and manipulation of the
data sources.
protected ColorTableManager doMakeColorTableManager()
ColorTableManager
public ColorTableManager getColorTableManager()
ColorTableManager
protected ucar.unidata.idv.test.TestManager doMakeTestManager()
TestManager.
public ucar.unidata.idv.test.TestManager getTestManager()
TestManager. This class runs the
idv in test mode and also creates the test archives.
protected VMManager doMakeVMManager()
VMManager. This manages the set of
ViewManagers. It really should be called
the ViewManagerManager
public VMManager getVMManager()
VMManager.
protected PublishManager doMakePublishManager()
PublishManager
This manages publishing content to weblogs, etc.
public PublishManager getPublishManager()
PublishManager
protected IdvUIManager doMakeIdvUIManager()
IdvUIManager
public IdvUIManager getIdvUIManager()
IdvUIManager
protected ImageGenerator doMakeImageGenerator()
ImageGenerator
public ImageGenerator getImageGenerator()
ImageGenerator
protected StateManager doMakeStateManager()
StateManager.
public StateManager getStateManager()
StateManager
protected InstallManager doMakeInstallManager()
InstallManager.
public InstallManager getInstallManager()
InstallManager
protected JythonManager doMakeJythonManager()
JythonManager
public JythonManager getJythonManager()
JythonManager
protected IdvChooserManager doMakeIdvChooserManager()
IdvChooserManager
public IdvChooserManager getIdvChooserManager()
IdvChooserManager
public void showChooser()
IdvChooserManager
public void showChooserModal()
IdvChooserManager
protected CollabManager doMakeCollabManager()
CollabManager
public CollabManager getCollabManager()
CollabManager
public boolean haveCollabManager()
protected AliasEditor doMakeAliasEditor()
AliasEditor
public AliasEditor getAliasEditor()
AliasEditor
public void showAliasEditor()
protected ResourceViewer doMakeResourceViewer()
public ResourceViewer getResourceViewer()
AliasEditor
public void showResourceViewer()
protected IdvProjectionManager doMakeIdvProjectionManager()
ProjectionManager
public IdvProjectionManager getIdvProjectionManager()
ProjectionManager
public void showIdvProjectionManager()
protected AutoDisplayEditor doMakeAutoDisplayEditor()
AutoDisplayEditor
public AutoDisplayEditor getAutoDisplayEditor()
AutoDisplayEditor
public void showAutoDisplayEditor()
protected ParamDefaultsEditor doMakeParamDefaultsEditor()
ParamDefaultsEditor
public ParamDefaultsEditor getParamDefaultsEditor()
ParamDefaultsEditor
public void showDefaultsEditor()
protected ParamGroupsEditor doMakeParamGroupsEditor()
ParamGroupsEditor
public ParamGroupsEditor getParamGroupsEditor()
ParamGroupsEditor
public void showParamGroupsEditor()
protected ColorTableEditor doMakeColorTableEditor()
ColorTableEditor
public ColorTableEditor getColorTableEditor()
ColorTableEditor
public void showColorTableEditor()
public void showColorTableEditor(String colorTableName)
colorTableName - The name of the color table to showprotected IdvPreferenceManager doMakePreferenceManager()
IdvPreferenceManager
public IdvPreferenceManager getPreferenceManager()
IdvPreferenceManager
public void showPreferenceManager()
protected IdvResourceManager doMakeResourceManager()
IdvResourceManager
public IdvResourceManager getResourceManager()
IdvResourceManager
protected PluginManager doMakePluginManager()
PluginManager
public PluginManager getPluginManager()
IdvResourceManager
public XmlObjectStore getObjectStore()
XmlObjectStorepublic IdvObjectStore getStore()
XmlObjectStore
public boolean getProperty(String name,
boolean dflt)
name - The name of the propertydflt - The default value if the property is not found
public int getProperty(String name,
int dflt)
name - The name of the propertydflt - The default value if the property is not found
public double getProperty(String name,
double dflt)
name - The name of the propertydflt - The default value if the property is not found
public String getProperty(String name,
String dflt)
name - The name of the propertydflt - The default value if the property is not found
public Color getColorProperty(String name,
Color dflt)
name - The name of the propertydflt - The default value if the property is not found
public Object getPreference(String pref)
pref - The name of the preference
public Object getPreference(String pref,
Object dflt)
pref - The name of the preferencedflt - The default value to return if the preference is not found
public Element createElement(XmlEncoder encoder)
createElement in interface XmlPersistableencoder - The encoder doing the encoding
protected XmlEncoder getEncoder()
public boolean initFromXml(XmlEncoder encoder,
Element element)
initFromXml in interface XmlPersistableencoder - The encoder doing the encodingelement - The xml element that defines the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||