|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.common.ui.sqlstatementarea.SharedTextColors
public class SharedTextColors
Manages SWT color objects. Until the dispose method is called,
the same color object is returned for equal RGB values.
| Constructor Summary | |
|---|---|
SharedTextColors()
Create an instance of shared color manager. |
|
| Method Summary | |
|---|---|
void |
dispose()
|
org.eclipse.swt.graphics.Color |
getColor(org.eclipse.swt.graphics.RGB rgb)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SharedTextColors()
Note: The caller who creates the instance has the resposibility to invoke
dispose() to release the Color resources.
| Method Detail |
|---|
public org.eclipse.swt.graphics.Color getColor(org.eclipse.swt.graphics.RGB rgb)
getColor in interface org.eclipse.jface.text.source.ISharedTextColorspublic void dispose()
dispose in interface org.eclipse.jface.text.source.ISharedTextColors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||