01: package gnu.jemacs.swing;
02:
03: /** An Action that does nothing. */
04:
05: public class IgnoreAction extends javax.swing.text.TextAction {
06: private static IgnoreAction instance = new IgnoreAction("(ignore)");
07:
08: public static IgnoreAction getInstance() {
09: return instance;
10: }
11:
12: public IgnoreAction(String name) {
13: super (name);
14: }
15:
16: public void actionPerformed(java.awt.event.ActionEvent event) {
17: }
18: }
|