Object
hdf.view.DataView.DataViewFactory
- Direct Known Subclasses:
ImageViewFactory,MetaDataViewFactory,PaletteViewFactory,TableViewFactory,TreeViewFactory
The data view factory interface for displaying data objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ImageViewgetImageView(DataViewManager viewer, HashMap dataPropertiesMap)Get an instance of ImageView given the appropriate constructor parametersabstract MetaDataViewgetMetaDataView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer, HObject theObj)Get an instance of MetaDataView given the appropriate constructor parametersabstract PaletteViewgetPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView)Get an instance of PaletteView given the appropriate constructor parametersabstract TableViewgetTableView(DataViewManager viewer, HashMap dataPropertiesMap)Get an instance of TableView given the appropriate constructor parametersabstract TreeViewgetTreeView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer)Get an instance of TreeView given the appropriate constructor parameters
-
Constructor Details
-
DataViewFactory
public DataViewFactory()
-
-
Method Details
-
getTableView
public abstract TableView getTableView(DataViewManager viewer, HashMap dataPropertiesMap) throws ClassNotFoundExceptionGet an instance of TableView given the appropriate constructor parameters- 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.
-
getImageView
public abstract ImageView getImageView(DataViewManager viewer, HashMap dataPropertiesMap) throws ClassNotFoundExceptionGet an instance of ImageView given the appropriate constructor parameters- 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.
-
getPaletteView
public abstract PaletteView getPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView) throws ClassNotFoundExceptionGet an instance of PaletteView given the appropriate constructor parameters- 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.
-
getMetaDataView
public abstract MetaDataView getMetaDataView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer, HObject theObj) throws ClassNotFoundExceptionGet an instance of MetaDataView given the appropriate constructor parameters- Parameters:
parent- 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.
-
getTreeView
public abstract TreeView getTreeView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer) throws ClassNotFoundExceptionGet an instance of TreeView given the appropriate constructor parameters- 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.
-