1 | public class ImportAction extends AbstractColumbaAction↵ | | 1 | public class MailAccountAction extends AbstractColumbaAction↵
|
2 | implements ActionListener {↵ | | |
|
3 | public ImportAction(IFrameMediator frameMediator) {↵ | | |
|
4 | super(frameMediator,↵ | | |
|
5 | ↵ | | 2 | {↵
|
| | | 3 | public MailAccountAction(IFrameMediator controller) {↵
|
6 | MailResourceLoader.getString("menu", "mainframe",↵ | | 4 | super(controller, MailResourceLoader.getString("menu", "mainframe",↵
|
7 | "menu_utilities_importmailbox"));↵ | | |
|
|
8 | ↵ | | 5 | "menu_edit_accountconfig"));↵
|
|
9 | // tooltip text↵ | | 6 | // tooltip text↵
|
10 | putValue(SHORT_DESCRIPTION,↵ | | 7 | putValue(SHORT_DESCRIPTION,↵
|
11 | MailResourceLoader.getString("menu", ↵ | | 8 | MailResourceLoader.getString("menu",↵
|
12 | "mainframe",↵ | | 9 | "mainframe",↵
|
13 | "menu_utilities_importmailbox").replaceAll("&", ""));↵ | | 10 | "menu_edit_accountconfig").replaceAll("&", ""));↵
|
|
14 | // set small icon for menu↵ | | 11 | // small icon for menu↵
|
15 | // putValue(SMALL_ICON, ImageLoader.getImageIcon("stock_convert-16.png"));↵ | | 12 | // putValue(SMALL_ICON, ImageLoader↵
|
16 | }↵ | | |
|
|
17 | /↵ | | |
|
| | | 13 | // .getSmallImageIcon("configure_16_mail.png"));↵
|
| | | 14 | }↵
|
|
| | | 15 | /*↵
|
18 | * (non-Javadoc)↵ | | 16 | * (non-Javadoc)↵
|
19 | ↵ | | 17 | * ↵
|
20 | * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)↵ | | 18 | * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)↵
|
21 | */↵ | | |
|
22 | ↵ | | 19 | */↵
|
23 | public void actionPerformed(ActionEvent evt) {↵ | | 20 | public void actionPerformed(ActionEvent evt) {↵
|
24 | new ImportWizardLauncher(getFrameMediator()).launchWizard() | | 21 | new AccountListDialog(getFrameMediator())
|