Object
hdf.view.DataView.DataViewFactory
hdf.view.PaletteView.PaletteViewFactory
hdf.view.PaletteView.DefaultPaletteViewFactory
public class DefaultPaletteViewFactory extends PaletteViewFactory
A simple Factory class which returns concrete instances of the default
PaletteView.
- Version:
- 1.0 4/18/2018
- Author:
- jhenderson
-
Constructor Summary
Constructors Constructor Description DefaultPaletteViewFactory() -
Method Summary
Modifier and Type Method Description PaletteViewgetPaletteView(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, getTreeViewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultPaletteViewFactory
public DefaultPaletteViewFactory()
-
-
Method Details
-
getPaletteView
public PaletteView getPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager viewer, ImageView theImageView) throws ClassNotFoundExceptionDescription 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.
-