org.eclipse.datatools.sqltools.schemaobjecteditor.ui.util
Class ColorProvider
java.lang.Object
   org.eclipse.datatools.sqltools.schemaobjecteditor.ui.util.ColorProvider
org.eclipse.datatools.sqltools.schemaobjecteditor.ui.util.ColorProvider
- public class ColorProvider 
- extends java.lang.Object
Colors used in the SQL editor
 
 
| 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 | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BACKGROUND
public static final org.eclipse.swt.graphics.RGB BACKGROUND
MULTI_LINE_COMMENT
public static final org.eclipse.swt.graphics.RGB MULTI_LINE_COMMENT
SINGLE_LINE_COMMENT
public static final org.eclipse.swt.graphics.RGB SINGLE_LINE_COMMENT
DEFAULT
public static final org.eclipse.swt.graphics.RGB DEFAULT
KEYWORD
public static final org.eclipse.swt.graphics.RGB KEYWORD
TYPE
public static final org.eclipse.swt.graphics.RGB TYPE
STRING
public static final org.eclipse.swt.graphics.RGB STRING
SQL_CODE_DEFAULT
public static final org.eclipse.swt.graphics.RGB SQL_CODE_DEFAULT
SQL_CODE_KEYWORD
public static final org.eclipse.swt.graphics.RGB SQL_CODE_KEYWORD
SQL_CODE_TAG
public static final org.eclipse.swt.graphics.RGB SQL_CODE_TAG
ColorProvider
public ColorProvider()
dispose
public void dispose()
- Method disposes of the colors.
 
- 
 
getColor
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
- A getter method that returns a color.
 
- 
- Parameters:
- rgb-
- Returns:
- Color