1 | void actionPerformed(ActionEvent evt) {↵ | | 1 | void actionPerformed(ActionEvent arg0) {↵
|
2 | IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator())↵ | | 2 | IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator())↵
|
3 | .getTableSelection();↵ | | 3 | .getTableSelection();↵
|
4 | CommandProcessor.getInstance().addOp(new ForwardCommand(r));↵ | | 4 | CommandProcessor.getInstance().addOp(new ScoreMessageCommand(r));↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /*↵ | | 6 | /**↵
|
7 | * (non-Javadoc)↵ | | 7 | * Ensures that the action is only enabled when at least one message is↵
|
| | | 8 | * selected in the GUI.↵
|
8 | * ↵ | | 9 | * ↵
|
9 | * @see org.columba.core.gui.util.ISelectionListener#selectionChanged(org.columba.core.gui.util.SelectionChangedEvent)↵ | | 10 | * @see org.columba.core.gui.util.ISelectionListener#connectionChanged(org.columba.core.gui.util.SelectionChangedEvent)↵
|
10 | */↵ | | 11 | */↵
|
11 | public void selectionChanged(SelectionChangedEvent e) {↵ | | 12 | public void selectionChanged(SelectionChangedEvent e) {↵
|
12 | setEnabled(((TableSelectionChangedEvent) e).getUids().length > 0);↵ | | 13 | setEnabled(((TableSelectionChangedEvent) e).getUids().length > 0);↵
|
13 | } | | 14 | }
|