01: package net.sourceforge.squirrel_sql.client.plugin;
02:
03: import net.sourceforge.squirrel_sql.client.gui.session.SQLInternalFrame;
04: import net.sourceforge.squirrel_sql.client.gui.session.ObjectTreeInternalFrame;
05: import net.sourceforge.squirrel_sql.client.session.ISession;
06:
07: /**
08: * Any plugin is required to provide an implementation of this callback interface.
09: * The callback implementation has to be returned by IPlugin.sesssionStarted.
10: *
11: */
12: public interface PluginSessionCallback {
13: //void sessionInternalFrameOpened(SessionInternalFrame sessionInternalFrame, ISession sess);
14:
15: void sqlInternalFrameOpened(SQLInternalFrame sqlInternalFrame,
16: ISession sess);
17:
18: void objectTreeInternalFrameOpened(
19: ObjectTreeInternalFrame objectTreeInternalFrame,
20: ISession sess);
21: }
|