01: package abbot.editor;
02:
03: /** Provide Editor action key names and menu keys.
04: Action names are looked up via
05: {@link abbot.i18n.Strings#get(String)} by
06: prepending the string <code>"actions."</code>.
07: NOTE: to add a new editor action, define a key for it here and an action
08: for it in ScriptEditor. Add to the action map in
09: ScriptEditor.initActions, then (optionally) add it to the menu layout in
10: ScriptEditor.initMenus.
11: */
12: public interface EditorConstants {
13:
14: String MENU_FILE = "menus.file";
15: String MENU_EDIT = "menus.edit";
16: String MENU_TEST = "menus.test";
17: String MENU_INSERT = "menus.insert";
18: String MENU_CAPTURE = "menus.capture";
19: String MENU_HELP = "menus.help";
20:
21: String ACTION_PREFIX = "actions.";
22: String ACTION_EDITOR_ABOUT = "editor-about";
23: String ACTION_EDITOR_EMAIL = "editor-email";
24: String ACTION_EDITOR_BUGREPORT = "editor-submit-bug";
25: String ACTION_EDITOR_WEBSITE = "editor-website";
26: String ACTION_EDITOR_USERGUIDE = "editor-userguide";
27: String ACTION_EDITOR_QUIT = "editor-quit";
28: String ACTION_SCRIPT_OPEN = "script-open";
29: String ACTION_SCRIPT_NEW = "script-new";
30: String ACTION_SCRIPT_DUPLICATE = "script-duplicate";
31: String ACTION_SCRIPT_SAVE = "script-save";
32: String ACTION_SCRIPT_SAVE_AS = "script-save-as";
33: String ACTION_SCRIPT_RENAME = "script-rename";
34: String ACTION_SCRIPT_CLOSE = "script-close";
35: String ACTION_SCRIPT_DELETE = "script-delete";
36: String ACTION_SCRIPT_CLEAR = "script-clear";
37: String ACTION_STEP_CUT = "step-cut";
38: String ACTION_STEP_MOVE_UP = "step-move-up";
39: String ACTION_STEP_MOVE_DOWN = "step-move-down";
40: String ACTION_STEP_GROUP = "step-group";
41: String ACTION_SELECT_TESTSUITE = "select-testsuite";
42: String ACTION_EXPORT_HIERARCHY = "export-hierarchy";
43: String ACTION_RUN = "run";
44: String ACTION_RUN_TO = "run-to";
45: String ACTION_RUN_SELECTED = "run-selected";
46: String ACTION_RUN_LAUNCH = "run-launch";
47: String ACTION_RUN_TERMINATE = "run-terminate";
48: String ACTION_GET_VMARGS = "run-get-vmargs";
49: String ACTION_TOGGLE_FORKED = "toggle-forked";
50: String ACTION_TOGGLE_SLOW_PLAYBACK = "toggle-slow-playback";
51: String ACTION_TOGGLE_AWT_MODE = "toggle-awt-mode";
52: String ACTION_TOGGLE_STOP_ON_FAILURE = "toggle-stop-on-failure";
53: String ACTION_TOGGLE_STOP_ON_ERROR = "toggle-stop-on-error";
54: String ACTION_INSERT_LAUNCH = "insert-launch";
55: String ACTION_INSERT_APPLET = "insert-applet";
56: String ACTION_INSERT_TERMINATE = "insert-terminate";
57: String ACTION_INSERT_CALL = "insert-call";
58: String ACTION_INSERT_SAMPLE = "insert-sample";
59: String ACTION_INSERT_SEQUENCE = "insert-sequence";
60: String ACTION_INSERT_SCRIPT = "insert-script";
61: String ACTION_INSERT_FIXTURE = "insert-fixture";
62: String ACTION_INSERT_COMMENT = "insert-comment";
63: String ACTION_INSERT_EXPRESSION = "insert-expression";
64: String ACTION_INSERT_ANNOTATION = "insert-annotation";
65: String ACTION_DYNAMIC = "dynamic-actions";
66: String ACTION_CAPTURE_IMAGE = "capture-image";
67: String ACTION_CAPTURE_COMPONENT = "capture-component";
68: String ACTION_SELECT_COMPONENT = "select-component";
69: String ACTION_CAPTURE = "capture";
70: String ACTION_CAPTURE_ALL = "capture-all";
71: }
|