public class TranslationMessageLabelCommand extends TranslationCommand implements LscConstants
elements, xd, ydcommitted, documentversionANCHOR_PRECHART_RADIUS, ANCHOR_RADIUS, ARROW_BASE, ARROW_HEIGHT, CONDITION_COLD_COL, CONDITION_HOT_COL, CONDITION_SIDES, CONDITION_UPDATE_HEIGHT, CUT_SIDE_DISTANCE, CUT_Y_DISTANCE, FOOT_TOUCH_DISTANCE, INSTANCE_FILL_COL, INSTANCE_FOOT_HEIGHT, INSTANCE_FOOT_WIDTH, INSTANCE_HEIGHT, INSTANCE_LENGTH, INSTANCE_LINE_COL, INSTANCE_MIN_WIDTH, LOC_DISTANCE, MESSAGE_COL, MESSAGE_LABEL_COL, PRECHART_COL, PRECHART_MIN_HEIGHT, PRECHART_SIDE_DISTANCE, PRECHART_TOP_DISTANCE, TOP_DISTANCE, TOUCH_DISTANCE, TOUCH_INSTANCE_DISTANCE, UPDATE_COLAREA_SELECT_COL, ARROW_ANGLE, ARROW_LENGTH, BIGFONT, BIGFONTNAME, EMPH_COL, FONT, FONTNAME, GLOBAL_DECL_COL, GLOBAL_PROCESSASSIGN_COL, GLOBAL_SYSTEM_COL, GRIDCHANGE, GRIDCOLOR, GRIDMIN, MOUSE_OVER_COL, MOUSE_OVER_REL_COL, PART_COV_COL, PROCESS_FILL_COL, PROCESS_OUTLINE_COL, SELECTED_COL, SNAP_PER_GRID, TEMPLATE_NAME_COL, TEMPLATE_PARAMLIST_COL, TRACE_COV_COL| Constructor and Description |
|---|
TranslationMessageLabelCommand(Document document,
ArrayList<Element> elements) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCancel()
Undo the translation.
|
protected void |
doExecute() |
protected void |
doUndo() |
void |
move(int x,
int y)
Move elements by (x, y).
|
protected void |
moveElements(int x,
int y) |
void |
updateF() |
getModifiedElementcancel, commit, execute, undogetVersion, setVersionprotected void moveElements(int x,
int y)
moveElements in class TranslationCommandpublic void move(int x,
int y)
TranslationCommandmove in class TranslationCommandprotected void doCancel()
doCancel in class TranslationCommandprotected void doExecute()
doExecute in class TranslationCommandprotected void doUndo()
doUndo in class TranslationCommandpublic void updateF()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.