|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControlContext
This interface is how DisplayControls view the
IntegratedDataViewer. We use an interface so that,
instead of just passing the IDV as itself to the display controls,
we can keep tabs on what IDV methods are used by the display controls.
It is a way of keeping us somewhat honest.
| Methods inherited from interface ucar.unidata.data.DataContext |
|---|
dataSourceChanged, getAllDataSources, getDataSources, getJythonManager, getPreference, loadDataSource, selectDataChoices, selectDataType, selectDataType, selectUserChoices |
| Methods inherited from interface ucar.unidata.idv.IdvContext |
|---|
getColorProperty, getProperty, getProperty |
| Method Detail |
|---|
void addDisplayControl(DisplayControl control)
DisplayControl
control - The new display controlvoid removeDisplayControl(DisplayControl control)
DisplayControl
control - The removed display controlViewManager getViewManager(ViewDescriptor viewDescriptor)
ViewManager
identified by the given ViewDescriptor
viewDescriptor - The view descriptor that defines the view manager
being looked for
ViewManager getViewManager(ViewDescriptor viewDescriptor,
boolean newWindow,
String properties)
ViewManager
identified by the given ViewDescriptor
viewDescriptor - The view descriptor that defines the view manager
being looked fornewWindow - If true it will create a new window and place the ViewManager in it
if the ViewManager was newly created (as opposed to one that already exists).properties - Semicolon separated list of properties to configure the ViewManager
boolean handleAction(String action,
Hashtable properties)
action - The actionproperties - Any extra properties (e.g., properties to pass to
the DataManager when creating a new data source)
XmlObjectStore getObjectStore()
XmlObjectStore that is used
to get and store persistent user state.
getObjectStore in interface DataContextJMenu doMakeDataChoiceMenu(DataChoice dataChoice)
dataChoice - The data choice to create a menu for
List getLocationList()
NamedStationTables
void showWindow(DisplayControl control,
IdvWindow window)
control - The control whose window is to be popped upwindow - The window to be popped upvoid showWaitCursor()
void showNormalCursor()
IntegratedDataViewer getIdv()
getIdv in interface DataContextIdvPersistenceManager getPersistenceManager()
ColorTableManager getColorTableManager()
ColorTableManager
IdvPreferenceManager getPreferenceManager()
IdvPreferenceManager
StationModelManager getStationModelManager()
StationModelManager
DisplayConventions getDisplayConventions()
DisplayConventions
IdvResourceManager getResourceManager()
IdvResourceManager
getResourceManager in interface DataContext
DisplayControl createDisplay(String dataSourceName,
String paramName,
String displayName,
String properties,
boolean initDisplayInThread)
dataSourceName - The identifying object for the data source (e.g., test.nc)paramName - The name of the parameterdisplayName - The display type (from controls.xml)properties - A set of semi-colon delimited name=value propertiesinitDisplayInThread - If true then intialize the new display control in its own thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||