1 | class IgnoreAction extends AbstractAction {↵ | | 1 | class ChangeAllAction extends AbstractAction {↵
|
|
2 | private IgnoreAction() {↵ | | 2 | private ChangeAllAction() {↵
|
|
3 | super("Ignore");↵ | | 3 | super("Change All");↵
|
|
4 | putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_I));↵ | | 4 | putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_L));↵
|
|
5 | putValue(ACCELERATOR_KEY, new Integer(KeyEvent.VK_I));↵ | | 5 | putValue(ACCELERATOR_KEY, new Integer(KeyEvent.VK_L));↵
|
|
6 | }↵ | | 6 | }↵
|
|
7 | public void actionPerformed(ActionEvent event) {↵ | | 7 | public void actionPerformed(ActionEvent event) {↵
|
|
8 | _userAction = IGNORE;↵ | | 8 | _userAction = CHANGE_ALL;↵
|
|
9 | dispose();↵ | | 9 | dispose();↵
|
|
10 | }↵ | | 10 | }↵
|
|
11 | }↵ | | 11 | }↵
|
|
12 | private class IgnoreAllAction extends AbstractAction {↵ | | 12 | private class IgnoreAction extends AbstractAction {↵
|
|
13 | private IgnoreAllAction() {↵ | | 13 | private IgnoreAction() {↵
|
|
14 | super("Ignore All");↵ | | 14 | super("Ignore");↵
|
|
15 | // putValue( MNEMONIC_KEY, new Integer(KeyEvent.VK_G) );↵ | | 15 | putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_I));↵
|
|
16 | // putValue( ACCELERATOR_KEY, new Integer(KeyEvent.VK_G) );↵ | | 16 | putValue(ACCELERATOR_KEY, new Integer(KeyEvent.VK_↵
|
|
17 | putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_G));↵ | | |
|
|
18 | putValue(ACCELERATOR_KEY, new Integer(KeyEvent.VK_G));↵ | | 17 | I));↵
|
|
19 | }↵ | | 18 | }↵
|
|
20 | public void actionPerformed(ActionEvent event) {↵ | | 19 | public void actionPerformed(ActionEvent event) {↵
|
|
21 | _userAction = IGNORE_ALL;↵ | | 20 | _userAction = IGNORE;↵
|
|
22 | dispose();↵ | | 21 | dispose();↵
|
|
23 | }↵ | | 22 | }↵
|
|
24 | | | 23 |
|