1 | void actionPerformed(ActionEvent evt) {↵ | | 1 | void actionPerformed(ActionEvent evt) {↵
|
2 | IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator())↵ | | 2 | IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator())↵
|
3 | .getTableSelection();↵ | | 3 | .getTableSelection();↵
|
4 | CommandProcessor.getInstance().addOp(new ForwardInlineCommand(r));↵ | | 4 | CommandProcessor.getInstance().addOp(new ReplyAsAttachmentCommand(r));↵
|
5 | }↵ | | |
|
|
6 | /*↵ | | |
|
7 | ↵ | | 5 | }↵
|
|
8 | * (non-Javadoc)↵ | | 6 | /* (non-Javadoc)↵
|
9 | * ↵ | | |
|
10 | * @see org.columba.core.gui.util.ISelectionListener#selectionChanged(org.columba.core.gui.util.SelectionChangedEvent)↵ | | 7 | * @see org.columba.core.gui.util.ISelectionListener#selectionChanged(org.columba.core.gui.util.SelectionChangedEvent)↵
|
11 | */↵ | | |
|
12 | ↵ | | 8 | */↵
|
13 | public void selectionChanged(SelectionChangedEvent e) {↵ | | 9 | public void selectionChanged(SelectionChangedEvent e) {↵
|
14 | setEnabled(((TableSelectionChangedEvent) e).getUids().length > 0);↵ | | 10 | setEnabled(((TableSelectionChangedEvent) e).getUids().length > 0);↵
|
15 | } | | 11 | }
|