Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
ChangeBackgroundColorAction () | |
void | run () |
void | updateColor (RGB foreGround, RGB backGround) |
Static Public Attributes | |
static final String | ACTION_ID = "backgroundColor" |
static final String | ACTION_TEXT = "Background Color" |
Protected Member Functions | |
void | finalize () throws Throwable |
Handles the action of changing background 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.ChangeBackgroundColorAction.ChangeBackgroundColorAction | ( | ) |
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.ChangeBackgroundColorAction.finalize | ( | ) | throws Throwable [protected] |
void de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeBackgroundColorAction.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.ChangeBackgroundColorAction.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.ChangeBackgroundColorAction.ACTION_ID = "backgroundColor" [static] |
final String de.fu_berlin.inf.dpp.whiteboard.gef.actions.ChangeBackgroundColorAction.ACTION_TEXT = "Background Color" [static] |