public class ColorProvider
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,org.eclipse.swt.graphics.Color> |
mColorTable |
| Constructor and Description |
|---|
ColorProvider()
Default constructor getting the preferences.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposing the color provider.
|
org.eclipse.swt.graphics.Color |
getColor(java.lang.String pColorString)
Returns the color corresponding to the given name.
|
protected java.util.Map<java.lang.String,org.eclipse.swt.graphics.Color> mColorTable
public ColorProvider()
public void dispose()
public org.eclipse.swt.graphics.Color getColor(java.lang.String pColorString)
pColorString - name of the color to get