01: /*
02: * NewDbExplorerWindowAction.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.gui.MainWindow;
17:
18: /**
19: * @author support@sql-workbench.net
20: */
21: public class NewDbExplorerWindowAction extends WbAction {
22: private MainWindow mainWin;
23:
24: public NewDbExplorerWindowAction(MainWindow aWindow) {
25: super ();
26: mainWin = aWindow;
27: this .initMenuDefinition("MnuTxtNewExplorerWindow");
28: }
29:
30: public void executeAction(ActionEvent e) {
31: mainWin.newDbExplorerWindow();
32: }
33: }
|