01: /*
02: * FileExitAction.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:
16: import workbench.WbManager;
17: import workbench.resource.ResourceMgr;
18:
19: /**
20: * Exit and close the application
21: * @see workbench.WbManager#exitWorkbench()
22: * @author support@sql-workbench.net
23: */
24: public class FileExitAction extends WbAction {
25: public FileExitAction() {
26: super ();
27: this .initMenuDefinition("MnuTxtExit");
28: }
29:
30: public void executeAction(ActionEvent e) {
31: WbManager.getInstance().exitWorkbench();
32: }
33: }
|