|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.radrails.db.internal.ui.DbUIColorProvider
Color provider for the db ui plugin.
Method Summary | |
void |
dispose()
Dispose the color resources held by the provider. |
org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.RGB rgb)
Creates a Color from the given RGB value. |
org.eclipse.swt.graphics.Color |
getColor(java.lang.String rgb)
Creates a Color from the given string RGB value. |
org.eclipse.swt.graphics.Color |
getColorFromPreference(java.lang.String prefId)
Creates a Color from a preference located in the
RailsUIPlugin preference store. |
static DbUIColorProvider |
getInstance()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DbUIColorProvider getInstance()
public void dispose()
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
Color
from the given RGB
value.
rgb
- the RGB
value of the color
Color
objectpublic org.eclipse.swt.graphics.Color getColor(java.lang.String rgb)
Color
from the given string RGB value.
rgb
- the string RGB value
Color
objectpublic org.eclipse.swt.graphics.Color getColorFromPreference(java.lang.String prefId)
Color
from a preference located in the
RailsUIPlugin
preference store.
prefId
- the identifier of the preference
Color
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |