01: package net.sourceforge.squirrel_sql.plugins.editextras;
02:
03: import net.sourceforge.squirrel_sql.client.session.IObjectTreeAPI;
04: import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
05: import net.sourceforge.squirrel_sql.client.session.ISession;
06:
07: /**
08: * This class was introduced to make the plugin compilable for the time it takes
09: * to completely introduce the multible session windows framework.
10: * It may be removed after that.
11: */
12: public class FrameWorkAcessor {
13: public static ISQLPanelAPI getSQLPanelAPI(ISession session,
14: EditExtrasPlugin plugin) {
15: return session.getSQLPanelAPIOfActiveSessionWindow();
16: }
17:
18: public static IObjectTreeAPI getObjectTreeAPI(ISession session,
19: EditExtrasPlugin plugin) {
20: return session.getObjectTreeAPIOfActiveSessionWindow();
21: }
22: }
|