Object
hdf.view.DataView.DataViewFactory
hdf.view.MetaDataView.MetaDataViewFactory
hdf.view.MetaDataView.DefaultMetaDataViewFactory
public class DefaultMetaDataViewFactory extends MetaDataViewFactory
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
Constructors Constructor Description DefaultMetaDataViewFactory() -
Method Summary
Modifier and Type Method Description MetaDataViewgetMetaDataView(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, getTreeViewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultMetaDataViewFactory
public DefaultMetaDataViewFactory()
-
-
Method Details
-
getMetaDataView
public MetaDataView getMetaDataView(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj) throws ClassNotFoundExceptionDescription copied from class:DataViewFactoryGet an instance of MetaDataView given the appropriate constructor parameters- Specified by:
getMetaDataViewin 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.
-