Class DefaultPaletteViewFactory

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 Details

  • 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 class DataViewFactory
      Parameters:
      parent - The parent shell for the palette view
      viewer - The data view manager
      theImageView - 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.