| java.lang.Object net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand
ConnectToAliasCommand | public class ConnectToAliasCommand implements ICommand(Code) | | This ICommand allows the user to connect to
an ISQLAlias.
author: Colin Bell |
Method Summary | |
public void | execute() Display connection internal frame. |
ConnectToAliasCommand | public ConnectToAliasCommand(IApplication app, SQLAlias sqlAlias)(Code) | | Ctor. This ctor will create a new session as well as opening a connection.
Parameters: app - The IApplication that defines app API. Parameters: alias - The ISQLAlias to connect to. throws: IllegalArgumentException - Thrown if a null IApplication orISQLAlias passed. |
ConnectToAliasCommand | public ConnectToAliasCommand(IApplication app, SQLAlias sqlAlias, boolean createSession, ICompletionCallback callback)(Code) | | Ctor.
Parameters: app - The IApplication that defines app API. Parameters: alias - The ISQLAlias to connect to. Parameters: createSession - If true then create a session as wellas connecting to the database. Parameters: callback - Callback for client code to be informed of theprogress of this command.Thrown if a null IApplication orISQLAlias passed. |
execute | public void execute()(Code) | | Display connection internal frame.
|
|
|