Object
org.eclipse.swt.widgets.Dialog
hdf.view.PaletteView.DefaultPaletteView
- All Implemented Interfaces:
DataView
,PaletteView
Displays a dialog for viewing and change palettes.
- Version:
- 2.4 2/27/16
- Author:
- Jordan T. Henderson
-
Field Summary
Fields inherited from interface hdf.view.DataView.DataView
DATAVIEW_IMAGE, DATAVIEW_TABLE, DATAVIEW_UNKNOWN
-
Constructor Summary
ConstructorDescriptionDefaultPaletteView
(org.eclipse.swt.widgets.Shell parent, DataViewManager theViewer, ImageView theImageView) Create a dialog for viewing and change palettes.DefaultPaletteView
(org.eclipse.swt.widgets.Shell parent, ImageView theImageView) Create a dialog for viewing and changing palettes. -
Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
DefaultPaletteView
Create a dialog for viewing and changing palettes.- Parameters:
parent
- the parent componenttheImageView
- the associated ImageView
-
DefaultPaletteView
public DefaultPaletteView(org.eclipse.swt.widgets.Shell parent, DataViewManager theViewer, ImageView theImageView) Create a dialog for viewing and change palettes.- Parameters:
parent
- the parent componenttheViewer
- the data view managertheImageView
- the associated ImageView
-
-
Method Details
-
createUI
Create the visual components -
getDataObject
- Specified by:
getDataObject
in interfaceDataView
- Returns:
- the data object displayed in this data viewer
-