
net.sourceforge.squirrel_sql.client.session.action.SelectSqlAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squirrel-sql Show documentation
Show all versions of squirrel-sql Show documentation
This is the jar that contains the main application classes which are very specific to
SQuirreLSQL.
package net.sourceforge.squirrel_sql.client.session.action;
import net.sourceforge.squirrel_sql.client.action.SquirrelAction;
import net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI;
import net.sourceforge.squirrel_sql.client.IApplication;
import java.awt.event.ActionEvent;
public class SelectSqlAction extends SquirrelAction implements ISQLPanelAction
{
private ISQLPanelAPI _panel;
public SelectSqlAction(IApplication app)
{
super(app);
}
public void actionPerformed(ActionEvent e)
{
_panel.getSQLEntryPanel().selectCurrentSql();
}
public void setSQLPanel(ISQLPanelAPI panel)
{
_panel = panel;
setEnabled(null != _panel);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy