|
|||||||||
| 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.example.ExamplePlugin
public class ExamplePlugin
The Example plugin class. If the database session's type is DB2, this plugin registers a menu action in the popup menu for view and procedure nodes in the ObjectTree. For detailed information and usage of the Plugin API see the following: https://sourceforge.net/apps/trac/squirrel-sql/wiki/SQuirreLSQLClientPluginAPI
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
_app, applicationFiles, fileWrapperFactory |
| Constructor Summary | |
|---|---|
ExamplePlugin()
|
|
| Method Summary | |
|---|---|
String |
getAuthor()
Returns the authors name. |
String |
getChangeLogFileName()
Returns the name of the change log for the plugin. |
String |
getContributors()
|
String |
getDescriptiveName()
Return the descriptive name of this plugin. |
IGlobalPreferencesPanel[] |
getGlobalPreferencePanels()
Create preferences panel for the Global Preferences dialog. |
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. |
String |
getVersion()
Returns the current version of this plugin. |
void |
initialize()
Initialize this plugin. |
PluginSessionCallback |
sessionStarted(ISession session)
Called when a session started. |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin |
|---|
allowsSessionStartedInBackground, getDefaultNodeExpander, getObjectTypes, getSessionPropertiesPanels, isPluginSession, registerSessionMenu, sessionCreated, sessionEnding |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
aliasCopied, aliasRemoved, getAliasPropertiesPanelControllers, getApplication, getExternalService, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, load, setApplicationFiles, setFileWrapperFactory, unload |
| 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, getExternalService, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, load, setApplicationFiles, setFileWrapperFactory, unload |
| Constructor Detail |
|---|
public ExamplePlugin()
| Method Detail |
|---|
public 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 DefaultPluginpublic String getContributors()
getContributors in interface IPlugingetContributors in class DefaultPluginpublic IGlobalPreferencesPanel[] getGlobalPreferencePanels()
getGlobalPreferencePanels in interface IPlugingetGlobalPreferencePanels in class DefaultPlugin
public void initialize()
throws PluginException
initialize in interface IPlugininitialize in class DefaultPluginPluginExceptionpublic PluginSessionCallback sessionStarted(ISession session)
session - The session that is starting.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||