- All Known Implementing Classes:
HDFView
public interface DataViewManager
Defines a list of APIs for the main HDFView windows
- Version:
- 2.4 9/6/2007
- Author:
- Peter X. Cao
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDataView(DataView dataView) Data content is displayed, add the dataview to the main windowsvoidexecuteTimer(boolean toggleTimer) Start stop a timer.getDataView(HObject dataObject) Returns DataView that contains the specified data object.voidremoveDataView(DataView dataView) Data content is closed, remove the dataview from the main windowvoidDisplay error messagevoidshowStatus(String msg) Display feedback message
-
Method Details
-
addDataView
Data content is displayed, add the dataview to the main windows- Parameters:
dataView- the dataView whose presence in the main view is to be added.
-
removeDataView
Data content is closed, remove the dataview from the main window- Parameters:
dataView- the dataView whose presence in the main view is to be removed.
-
getDataView
Returns DataView that contains the specified data object. It is useful to avoid redundant display of data object that is opened already.- Parameters:
dataObject- the object whose presence in the main view is to be tested.- Returns:
- DataView contains the specified data object, null if the data object is not displayed.
-
showStatus
Display feedback message- Parameters:
msg- the status message to display
-
showError
Display error message- Parameters:
errMsg- the error message to display
-
getTreeView
- Returns:
- the current TreeView
-
executeTimer
Start stop a timer.- Parameters:
toggleTimer- -- true: start timer, false stop timer.
-