1 | void actionPerformed(ActionEvent e) {↵ | | 1 | void actionPerformed(ActionEvent e) {↵
|
|
2 | if (focusOwner == null)↵ | | 2 | if (focusOwner == null)↵
|
3 | return;↵ | | 3 | return;↵
|
4 | String action = (String) e.getActionCommand();↵ | | 4 | String action = (String) e.getActionCommand();↵
|
5 | Action a = focusOwner.getActionMap().get(action);↵ | | 5 | Action a = focusOwner.getActionMap().get(action);↵
|
6 | if (a != null)↵ | | 6 | if (a != null)↵
|
7 | a.actionPerformed(new ActionEvent(focusOwner,↵ | | 7 | a.actionPerformed(new ActionEvent(focusOwner,↵
|
8 | ActionEvent.ACTION_PERFORMED, null));↵ | | 8 | ActionEvent.ACTION_PERFORMED, null));↵
|
|
9 | }↵ | | 9 | }↵
|
|
10 | /**↵ | | 10 | /**↵
|
11 | * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()↵ | | 11 | * @see org.columba.core.gui.action.AbstractColumbaAction#isSingleton()↵
|
12 | */↵ | | 12 | */↵
|
13 | public boolean isSingleton() {↵ | | 13 | public boolean isSingleton() {↵
|
14 | return true;↵ | | 14 | return true;↵
|
15 | } | | 15 | }
|