|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.client.plugin.DefaultPlugin
net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin
net.sourceforge.squirrel_sql.plugins.sqlreplace.SQLReplacePlugin
public class SQLReplacePlugin
Main entry into the SQL Replace plugin.
This plugin allows you to maintain a set of frequently used SQL scripts for easy playback. There is also a parameter replacement syntax available for the SQL files.
| Field Summary | |
|---|---|
static String |
RESOURCE_PATH
|
| Fields inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
_app, applicationFiles, fileWrapperFactory |
| Constructor Summary | |
|---|---|
SQLReplacePlugin()
|
|
| Method Summary | |
|---|---|
boolean |
allowsSessionStartedInBackground()
|
String |
getAuthor()
|
String |
getChangeLogFileName()
|
String |
getDescriptiveName()
|
IGlobalPreferencesPanel[] |
getGlobalPreferencePanels()
Create and return a preferences object. |
String |
getHelpFileName()
|
String |
getInternalName()
|
String |
getLicenceFileName()
|
protected String |
getResourceString(String name)
Get and return a string from the plugin resources. |
String |
getVersion()
|
void |
initialize()
Initialize this plugin. |
void |
sessionCreated(ISession session)
Called on session creating by callback. |
void |
sessionEnding(ISession session)
This method is called on session closing an needs to free resources. |
PluginSessionCallback |
sessionStarted(ISession session)
|
void |
unload()
Called on plugin unloading. |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin |
|---|
getDefaultNodeExpander, getObjectTypes, getSessionPropertiesPanels, isPluginSession, registerSessionMenu |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
aliasCopied, aliasRemoved, getAliasPropertiesPanelControllers, getApplication, getContributors, getExternalService, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, load, setApplicationFiles, setFileWrapperFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.squirrel_sql.client.plugin.IPlugin |
|---|
aliasCopied, aliasRemoved, getAliasPropertiesPanelControllers, getContributors, getExternalService, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, load, setApplicationFiles, setFileWrapperFactory |
| Field Detail |
|---|
public static final String RESOURCE_PATH
| Constructor Detail |
|---|
public SQLReplacePlugin()
| Method Detail |
|---|
public String getAuthor()
IPlugin.getAuthor()public String getDescriptiveName()
IPlugin.getDescriptiveName()public String getInternalName()
IPlugin.getInternalName()public String getVersion()
IPlugin.getVersion()public String getChangeLogFileName()
getChangeLogFileName in interface IPlugingetChangeLogFileName in class DefaultPluginDefaultPlugin.getChangeLogFileName()public String getHelpFileName()
getHelpFileName in interface IPlugingetHelpFileName in class DefaultPluginDefaultPlugin.getHelpFileName()public String getLicenceFileName()
getLicenceFileName in interface IPlugingetLicenceFileName in class DefaultPluginDefaultPlugin.getLicenceFileName()
public void initialize()
throws PluginException
initialize in interface IPlugininitialize in class DefaultPluginPluginExceptionprotected String getResourceString(String name)
name - name of the resource string to return.
public IGlobalPreferencesPanel[] getGlobalPreferencePanels()
getGlobalPreferencePanels in interface IPlugingetGlobalPreferencePanels in class DefaultPluginpublic PluginSessionCallback sessionStarted(ISession session)
ISessionPlugin.sessionStarted(net.sourceforge.squirrel_sql.client.session.ISession)public void unload()
unload in interface IPluginunload in class DefaultPluginpublic boolean allowsSessionStartedInBackground()
allowsSessionStartedInBackground in interface ISessionPluginallowsSessionStartedInBackground in class DefaultSessionPluginDefaultSessionPlugin.allowsSessionStartedInBackground()public void sessionCreated(ISession session)
sessionCreated in interface ISessionPluginsessionCreated in class DefaultSessionPluginsession - The sessionpublic void sessionEnding(ISession session)
sessionEnding in interface ISessionPluginsessionEnding in class DefaultSessionPluginsession - the session to be closed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||