public class StylePreferences extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer implements StylePreferenceConstants
KEY_DEFAULT_BACKGROUND, KEY_DEFAULT_WIDTH, KEY_SELECTION_COLOR, KEY_SELECTION_WIDTH, KEY_SOURCE_DEFAULT_COLOR, KEY_TRANSFORMED_DEFAULT_COLOR
Constructor and Description |
---|
StylePreferences() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.swt.graphics.RGB |
getDefaultBackground()
Get the default background
|
static Color |
getDefaultColor(DataSet dataSet)
Get the default color for the given data set.
|
static int |
getDefaultWidth()
Get the default width
|
static Color |
getSelectionColor()
Get the selection color
|
static int |
getSelectionWidth()
Get the selection width
|
void |
initializeDefaultPreferences() |
public void initializeDefaultPreferences()
initializeDefaultPreferences
in class org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
AbstractPreferenceInitializer.initializeDefaultPreferences()
public static Color getDefaultColor(DataSet dataSet)
dataSet
- the data setpublic static int getDefaultWidth()
public static Color getSelectionColor()
public static int getSelectionWidth()
public static org.eclipse.swt.graphics.RGB getDefaultBackground()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a