Object
hdf.view.DataView.DataViewFactory
hdf.view.PaletteView.PaletteViewFactory
- Direct Known Subclasses:
DefaultPaletteViewFactory
This class extends DataViewFactory so that at runtime it can be determined
if a specific DataViewFactory class is a PaletteViewFactory and can thus
be used appropriately where a PaletteView is needed.
- Version:
- 1.0 7/30/3018
- Author:
- jhenderson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ImageView
getImageView
(DataViewManager viewer, HashMap dataPropertiesMap) Get an instance of ImageView given the appropriate constructor parametersfinal MetaDataView
getMetaDataView
(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj) Get an instance of MetaDataView given the appropriate constructor parametersfinal TableView
getTableView
(DataViewManager viewer, HashMap dataPropertiesMap) Get an instance of TableView given the appropriate constructor parametersfinal TreeView
getTreeView
(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer) Get an instance of TreeView given the appropriate constructor parametersMethods inherited from class hdf.view.DataView.DataViewFactory
getPaletteView
-
Constructor Details
-
PaletteViewFactory
public PaletteViewFactory()
-
-
Method Details
-
getTableView
public final TableView getTableView(DataViewManager viewer, HashMap dataPropertiesMap) throws ClassNotFoundException, UnsupportedOperationException Description copied from class:DataViewFactory
Get an instance of TableView given the appropriate constructor parameters- Specified by:
getTableView
in classDataViewFactory
- Parameters:
viewer
- The data view managerdataPropertiesMap
- The properties for the table view- Returns:
- the table view.
- Throws:
ClassNotFoundException
- If there is an error getting the class for a table view.UnsupportedOperationException
-
getImageView
public final ImageView getImageView(DataViewManager viewer, HashMap dataPropertiesMap) throws ClassNotFoundException, UnsupportedOperationException Description copied from class:DataViewFactory
Get an instance of ImageView given the appropriate constructor parameters- Specified by:
getImageView
in classDataViewFactory
- Parameters:
viewer
- The data view managerdataPropertiesMap
- The properties for the image view- Returns:
- the image view.
- Throws:
ClassNotFoundException
- If there is an error getting the class for a image view.UnsupportedOperationException
-
getMetaDataView
public final MetaDataView getMetaDataView(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj) throws ClassNotFoundException, UnsupportedOperationException Description copied from class:DataViewFactory
Get an instance of MetaDataView given the appropriate constructor parameters- Specified by:
getMetaDataView
in classDataViewFactory
- Parameters:
parentObj
- The parent composite for the maetadata viewviewer
- The data view managertheObj
- The object for the metadata view- Returns:
- the metadata view.
- Throws:
ClassNotFoundException
- If there is an error getting the class for a metadata view.UnsupportedOperationException
-
getTreeView
public final TreeView getTreeView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer) throws ClassNotFoundException, UnsupportedOperationException Description copied from class:DataViewFactory
Get an instance of TreeView given the appropriate constructor parameters- Specified by:
getTreeView
in classDataViewFactory
- Parameters:
parent
- The parent composite for the tree viewviewer
- The data view manager- Returns:
- the tree view.
- Throws:
ClassNotFoundException
- If there is an error getting the class for a tree view.UnsupportedOperationException
-