java.lang.Objectcom.ibm.jdg2e.editor.sqleditor.utils.ColorProvider
Colors used in the SQL editor
| Field Summary | |
static org.eclipse.swt.graphics.RGB |
BACKGROUND
|
static org.eclipse.swt.graphics.RGB |
DEFAULT
|
protected java.util.Map |
fColorTable
|
static org.eclipse.swt.graphics.RGB |
KEYWORD
|
static org.eclipse.swt.graphics.RGB |
MULTI_LINE_COMMENT
|
static org.eclipse.swt.graphics.RGB |
SINGLE_LINE_COMMENT
|
static org.eclipse.swt.graphics.RGB |
SQL_CODE_DEFAULT
|
static org.eclipse.swt.graphics.RGB |
SQL_CODE_KEYWORD
|
static org.eclipse.swt.graphics.RGB |
SQL_CODE_TAG
|
static org.eclipse.swt.graphics.RGB |
STRING
|
static org.eclipse.swt.graphics.RGB |
TYPE
|
| Constructor Summary | |
ColorProvider()
|
|
| Method Summary | |
void |
dispose()
Method disposes of the colors. |
org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.RGB rgb)
A getter method that returns a color. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.eclipse.swt.graphics.RGB BACKGROUND
public static final org.eclipse.swt.graphics.RGB DEFAULT
protected java.util.Map fColorTable
public static final org.eclipse.swt.graphics.RGB KEYWORD
public static final org.eclipse.swt.graphics.RGB MULTI_LINE_COMMENT
public static final org.eclipse.swt.graphics.RGB SINGLE_LINE_COMMENT
public static final org.eclipse.swt.graphics.RGB SQL_CODE_DEFAULT
public static final org.eclipse.swt.graphics.RGB SQL_CODE_KEYWORD
public static final org.eclipse.swt.graphics.RGB SQL_CODE_TAG
public static final org.eclipse.swt.graphics.RGB STRING
public static final org.eclipse.swt.graphics.RGB TYPE
| Constructor Detail |
public ColorProvider()
| Method Detail |
public void dispose()
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
rgb -