Object
hdf.view.DataView.DataViewFactory
hdf.view.MetaDataView.MetaDataViewFactory
hdf.view.MetaDataView.DefaultMetaDataViewFactory
A simple Factory class which returns concrete instances of the default
MetaDataView, based on whether the data object is a Group, Dataset, Datatype
or other form of object.
- Version:
- 1.0 4/18/2018
- Author:
- jhenderson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMetaDataView
(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj) Get an instance of MetaDataView given the appropriate constructor parametersMethods inherited from class hdf.view.MetaDataView.MetaDataViewFactory
getImageView, getPaletteView, getTableView, getTreeView
-
Constructor Details
-
DefaultMetaDataViewFactory
public DefaultMetaDataViewFactory()
-
-
Method Details
-
getMetaDataView
public MetaDataView getMetaDataView(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj) throws ClassNotFoundException 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.
-