OSDN Git Service

[#34600] add a new function "show all histories" into GUI menu
[stew/Stew4.git] / src / net / argius / stew / ui / window / AnyActionKey.java
1 package net.argius.stew.ui.window;
2
3 /**
4  * @see AnyAction
5  */
6 public enum AnyActionKey {
7
8     cut, copy, paste, selectAll, undo, redo,
9     //
10     execute,
11     refresh,
12     //
13     newWindow,
14     closeWindow,
15     quit,
16     find,
17     toggleFocus,
18     clearMessage,
19     showStatusBar,
20     showInfoTree,
21     showColumnNumber,
22     showAlwaysOnTop,
23     widenColumnWidth,
24     narrowColumnWidth,
25     adjustColumnWidth,
26     autoAdjustMode,
27     autoAdjustModeNone,
28     autoAdjustModeHeader,
29     autoAdjustModeValue,
30     autoAdjustModeHeaderAndValue,
31     executeCommand,
32     breakCommand,
33     lastHistory,
34     nextHistory,
35     showAllHistories,
36     sendRollback,
37     sendCommit,
38     connect,
39     disconnect,
40     postProcessMode,
41     postProcessModeNone,
42     postProcessModeFocus,
43     postProcessModeShake,
44     postProcessModeBlink,
45     inputEcryptionKey,
46     editConnectors,
47     sortResult,
48     importFile,
49     exportFile,
50     showHelp,
51     showAbout,
52     unknown;
53
54     static AnyActionKey of(String name) {
55         try {
56             return valueOf(name);
57         } catch (IllegalArgumentException ex) {
58             return unknown;
59         }
60     }
61
62 }