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