01: /*
02: * WhatsNewAction.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.gui.actions;
13:
14: import java.awt.event.ActionEvent;
15: import workbench.WbManager;
16:
17: /**
18: * @author support@sql-workbench.net
19: */
20: public class WhatsNewAction extends WbAction {
21: private static WhatsNewAction instance = new WhatsNewAction();
22:
23: public static WhatsNewAction getInstance() {
24: return instance;
25: }
26:
27: private WhatsNewAction() {
28: super ();
29: this .initMenuDefinition("MnuTxtWhatsNew");
30: this .removeIcon();
31: }
32:
33: public void executeAction(ActionEvent e) {
34: WbManager.getInstance().showDialog(
35: "workbench.gui.help.WhatsNewViewer");
36: }
37:
38: }
|