|
||||||||||
| 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.userscript.UserScriptPlugin
public class UserScriptPlugin
The SQL Script plugin class.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
_app, applicationFiles, fileWrapperFactory |
| Constructor Summary | |
|---|---|
UserScriptPlugin()
|
|
| Method Summary | |
|---|---|
boolean |
allowsSessionStartedInBackground()
|
String |
getAuthor()
Returns the authors name. |
String |
getChangeLogFileName()
Returns the name of the change log for the plugin. |
String |
getDescriptiveName()
Return the descriptive name of this plugin. |
String |
getHelpFileName()
Returns the name of the Help file for the plugin. |
String |
getInternalName()
Return the internal name of this plugin. |
String |
getLicenceFileName()
Returns the name of the Licence file for the plugin. |
UserScriptAdmin |
getUserScriptAdmin(ISession session)
|
URLClassLoader |
getUserScriptClassLoader()
|
String |
getVersion()
Returns the current version of this plugin. |
void |
initialize()
Initialize this plugin. |
PluginSessionCallback |
sessionStarted(ISession session)
Called when a session started. |
void |
setResourcesFactory(IPluginResourcesFactory resourcesFactory)
|
void |
setUserScriptClassLoader(URLClassLoader urlClassLoader)
|
void |
unload()
Application is shutting down so save data. |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin |
|---|
getDefaultNodeExpander, getObjectTypes, getSessionPropertiesPanels, isPluginSession, registerSessionMenu, sessionCreated, sessionEnding |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
aliasCopied, aliasRemoved, getAliasPropertiesPanelControllers, getApplication, getContributors, getExternalService, getGlobalPreferencePanels, 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, getGlobalPreferencePanels, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, load, setApplicationFiles, setFileWrapperFactory |
| Constructor Detail |
|---|
public UserScriptPlugin()
| Method Detail |
|---|
public void setResourcesFactory(IPluginResourcesFactory resourcesFactory)
resourcesFactory - the resourcesFactory to setpublic String getInternalName()
public String getDescriptiveName()
public String getVersion()
public String getAuthor()
public String getChangeLogFileName()
getChangeLogFileName in interface IPlugingetChangeLogFileName in class DefaultPluginpublic String getHelpFileName()
getHelpFileName in interface IPlugingetHelpFileName in class DefaultPluginpublic String getLicenceFileName()
getLicenceFileName in interface IPlugingetLicenceFileName in class DefaultPlugin
public void initialize()
throws PluginException
initialize in interface IPlugininitialize in class DefaultPluginPluginExceptionpublic void unload()
unload in interface IPluginunload in class DefaultPluginpublic boolean allowsSessionStartedInBackground()
allowsSessionStartedInBackground in interface ISessionPluginallowsSessionStartedInBackground in class DefaultSessionPluginpublic PluginSessionCallback sessionStarted(ISession session)
session - The session that is starting.
public UserScriptAdmin getUserScriptAdmin(ISession session)
public URLClassLoader getUserScriptClassLoader()
public void setUserScriptClassLoader(URLClassLoader urlClassLoader)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||