01: package net.sourceforge.squirrel_sql.plugins.hibernate;
02:
03: import net.sourceforge.squirrel_sql.client.session.ISession;
04: import net.sourceforge.squirrel_sql.client.session.ISQLEntryPanel;
05: import net.sourceforge.squirrel_sql.client.gui.session.ToolsPopupController;
06: import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
07: import net.sourceforge.squirrel_sql.client.IApplication;
08:
09: import java.awt.event.ActionEvent;
10:
11: public class HQLToolsPopUpAction extends SquirrelAction {
12: private ToolsPopupController _toolsPopupController;
13:
14: public HQLToolsPopUpAction(HibernatePluginResources resources,
15: ToolsPopupController toolsPopupController,
16: IApplication application) {
17: super (application, resources);
18: _toolsPopupController = toolsPopupController;
19: }
20:
21: public void actionPerformed(ActionEvent e) {
22: _toolsPopupController.showToolsPopup();
23: }
24: }
|