01: /*
02: * ToolWindow.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.interfaces;
13:
14: import workbench.db.WbConnection;
15:
16: /**
17: * @author support@sql-workbench.net
18: */
19: public interface ToolWindow {
20: /**
21: * Disconnect and close the tool window
22: */
23: void closeWindow();
24:
25: /**
26: * Disconnect the tool window
27: */
28: void disconnect();
29:
30: void activate();
31:
32: WbConnection getConnection();
33: }
|