01: package org.airtodo.gui_common.actions.other;
02:
03: import java.awt.event.KeyEvent;
04:
05: import javax.swing.Icon;
06: import javax.swing.KeyStroke;
07:
08: import org.air.framework.gui.actions.basic.BasicAbstractAction;
09: import org.air.framework.i18n.NlsMessages;
10: import org.air.framework.properties.Icons;
11:
12: public abstract class ActionInfo extends BasicAbstractAction {
13: public static enum NLS {
14: TEXT
15: }
16:
17: private static final String NLS_NAME = NlsMessages
18: .getString(NLS.TEXT);
19:
20: private static final Icon ICON = Icons.INFORMATION;
21:
22: public ActionInfo() {
23: super (NLS_NAME + BasicAbstractAction.ELLIPSIS, ICON);
24: setAcceleratorKey(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER,
25: KeyEvent.ALT_DOWN_MASK));
26: setEnabled(false);
27: }
28:
29: }
|