Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
ChangeForegroundColorAction () | |
void | run () |
void | updateColor (RGB foreGround, RGB backGround) |
Static Public Attributes | |
static final String | ACTION_ID = "foregroundColor" |
static final String | ACTION_TEXT = "Foreground Color" |
Protected Member Functions | |
void | finalize () throws Throwable |
Handles the action of changing foreground color. They are added in the WhiteboardEditor, WhiteboardView and im Standalone Package in the WhiteboardContextMenuProvider and Whiteboard ActionBarContributor
de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeForegroundColorAction.ChangeForegroundColorAction | ( | ) |
The Constructor sets the ID, displayed text and the displayed image. Don't know why but it has to be set twice, otherwise only a black image is seen.
void de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeForegroundColorAction.finalize | ( | ) | throws Throwable [protected] |
void de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeForegroundColorAction.run | ( | ) |
Take care of the color change dialog and set the changed color. Furthermore it changes the displayed Image
void de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeForegroundColorAction.updateColor | ( | RGB | foreGround, |
RGB | backGround | ||
) |
Usercolors has been changed. May be only 1 of those has been changed
foreGround | |
backGround |
Implements de.fu_berlin.inf.dpp.whiteboard.gef.actions.ColorListener.
final String de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeForegroundColorAction.ACTION_ID = "foregroundColor" [static] |
final String de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeForegroundColorAction.ACTION_TEXT = "Foreground Color" [static] |