|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.diagram.custom.HighlightingManager
public final class HighlightingManager
Manager for highlighting of edit parts.
Method Summary | |
---|---|
static void |
highlight(IWorkbenchPart editor,
EditPart editPart,
Color foreground,
Color background)
Highlight an edit part with the given colors. |
static void |
lock()
Lock the Highlight manager so that only the locked methods can be used. |
static void |
lockedHighlight(IWorkbenchPart editor,
EditPart editPart,
Color foreground,
Color background)
Highlight an edit part with the given colors. |
static void |
lockedReset(IWorkbenchPart editor)
Reset all highlighting effects on the given editor. |
static void |
lockedReset(IWorkbenchPart editor,
EditPart editPart)
Reset the highlighting on the given edit part. |
static void |
reset(IWorkbenchPart editor)
Reset all highlighting effects on the given editor. |
static void |
reset(IWorkbenchPart editor,
EditPart editPart)
Reset the highlighting on the given edit part. |
static void |
unlock()
Unlock the Highlighting manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void lock()
public static void unlock()
public static void lockedHighlight(IWorkbenchPart editor, EditPart editPart, Color foreground, Color background)
editor
- the editoreditPart
- the edit partforeground
- the foreground colorbackground
- the background colorpublic static void highlight(IWorkbenchPart editor, EditPart editPart, Color foreground, Color background)
editor
- the editoreditPart
- the edit partforeground
- the foreground colorbackground
- the background colorpublic static void lockedReset(IWorkbenchPart editor)
editor
- the editorpublic static void reset(IWorkbenchPart editor)
editor
- the editorpublic static void lockedReset(IWorkbenchPart editor, EditPart editPart)
editor
- the editoreditPart
- the edit partpublic static void reset(IWorkbenchPart editor, EditPart editPart)
editor
- the editoreditPart
- the edit part
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |