|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.sqlbookmark.RunBookmarkCommand
public class RunBookmarkCommand
Runs a bookmark.
| Constructor Summary | |
|---|---|
RunBookmarkCommand(Frame frame,
ISession session,
Bookmark bookmark,
SQLBookmarkPlugin plugin,
ISQLEntryPanel sqlEntryPanel)
Ctor. |
|
| Method Summary | |
|---|---|
void |
execute()
Load the Bookmark into the SQL Edit buffer. |
protected String |
parseAndLoadSql(String sql)
Parse the SQL and prompt the user for entry values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunBookmarkCommand(Frame frame,
ISession session,
Bookmark bookmark,
SQLBookmarkPlugin plugin,
ISQLEntryPanel sqlEntryPanel)
throws IllegalArgumentException
frame - Parent Frame.session - The session that we are saving a script for.bookmark - The bookmark to run.plugin - The current plugin.sqlEntryPanel -
IllegalArgumentException - Thrown if a null ISession or IPlugin
passed.| Method Detail |
|---|
public void execute()
execute in interface ICommandprotected String parseAndLoadSql(String sql)
sql - The SQL to parse and load.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||