public class ColorPositionEditorDialog extends ColorEditorDialog
ColorEditorDialog
with a position slider.Modifier and Type | Field and Description |
---|---|
protected static int |
POS_DIGITS |
protected static float |
POS_FACTOR |
Constructor and Description |
---|
ColorPositionEditorDialog(Shell parentShell,
ColorData colorData)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
close()
Transfers the actual color values into the variables.
|
protected Control |
createDialogArea(Composite parent)
Creates the dialog area.
|
create, getColorData, widgetDefaultSelected, widgetSelected
protected static final int POS_DIGITS
protected static final float POS_FACTOR
public ColorPositionEditorDialog(Shell parentShell, ColorData colorData)
parentShell
- The parent shell for this modal dialog.colorData
- The initial values to be displayed.protected Control createDialogArea(Composite parent)
createDialogArea
in class ColorEditorDialog
org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
public boolean close()
ColorEditorDialog
close
in class ColorEditorDialog
ColorEditorDialog.close()