Object
hdf.view.DataView.DataViewFactory
hdf.view.ImageView.ImageViewFactory
- Direct Known Subclasses:
DefaultImageViewFactory
public abstract class ImageViewFactory extends DataViewFactory
This class extends DataViewFactory so that at runtime it can be determined
if a specific DataViewFactory class is an ImageViewFactory and can thus
be used appropriately where an ImageView is needed.
- Version:
- 1.0 7/30/3018
- Author:
- jhenderson
-
Constructor Summary
Constructors Constructor Description ImageViewFactory() -
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 parametersPaletteViewgetPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView)Get an instance of PaletteView given the appropriate constructor parametersTableViewgetTableView(DataViewManager viewer, HashMap dataPropertiesMap)Get an instance of TableView given the appropriate constructor parametersTreeViewgetTreeView(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
getImageViewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ImageViewFactory
public ImageViewFactory()
-
-
Method Details
-
getTableView
public final TableView getTableView(DataViewManager viewer, HashMap dataPropertiesMap) throws ClassNotFoundException, UnsupportedOperationExceptionDescription copied from class:DataViewFactoryGet an instance of TableView given the appropriate constructor parameters- Specified by:
getTableViewin 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
-
getPaletteView
public final PaletteView getPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView) throws ClassNotFoundException, UnsupportedOperationExceptionDescription copied from class:DataViewFactoryGet an instance of PaletteView given the appropriate constructor parameters- Specified by:
getPaletteViewin classDataViewFactory- Parameters:
parent- The parent shell for the palette viewviewer- The data view managertheImageView- The image view for the palette view- Returns:
- the palette view.
- Throws:
ClassNotFoundException- If there is an error getting the class for a palette view.UnsupportedOperationException
-
getMetaDataView
public final MetaDataView getMetaDataView(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj) throws ClassNotFoundException, UnsupportedOperationExceptionDescription 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.UnsupportedOperationException
-
getTreeView
public final TreeView getTreeView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer) throws ClassNotFoundException, UnsupportedOperationExceptionDescription copied from class:DataViewFactoryGet an instance of TreeView given the appropriate constructor parameters- Specified by:
getTreeViewin 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
-