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