Object
hdf.view.DataView.DataViewFactory
hdf.view.PaletteView.PaletteViewFactory
hdf.view.PaletteView.DefaultPaletteViewFactory
A simple Factory class which returns concrete instances of the default
PaletteView.
- Version:
- 1.0 4/18/2018
- Author:
- jhenderson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPaletteView
(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView) Get an instance of PaletteView given the appropriate constructor parametersMethods inherited from class hdf.view.PaletteView.PaletteViewFactory
getImageView, getMetaDataView, getTableView, getTreeView
-
Constructor Details
-
DefaultPaletteViewFactory
public DefaultPaletteViewFactory()
-
-
Method Details
-
getPaletteView
public PaletteView getPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView) throws ClassNotFoundException Description copied from class:DataViewFactory
Get an instance of PaletteView given the appropriate constructor parameters- Specified by:
getPaletteView
in 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.
-