|
||||||||||
| 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.mysql.MysqlPlugin
public class MysqlPlugin
MySQL plugin class.
| Nested Class Summary | |
|---|---|
static interface |
MysqlPlugin.IKeys
|
static interface |
MysqlPlugin.IMenuResourceKeys
|
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
_app, applicationFiles, fileWrapperFactory |
| Constructor Summary | |
|---|---|
MysqlPlugin()
|
|
| Method Summary | |
|---|---|
boolean |
allowsSessionStartedInBackground()
|
String |
getAuthor()
Returns the authors name. |
String |
getChangeLogFileName()
|
String |
getDescriptiveName()
Return the descriptive name of this plugin. |
IGlobalPreferencesPanel[] |
getGlobalPreferencePanels()
Create panel for the Global Properties dialog. |
String |
getHelpFileName()
Retrieve the name of the help file. |
String |
getInternalName()
Return the internal name of this plugin. |
String |
getLicenceFileName()
Retrieve the name of the licence file. |
String |
getVersion()
Returns the current version of this plugin. |
void |
initialize()
Initialize this plugin. |
protected boolean |
isPluginSession(ISession session)
Returns true for any version of MySQL. |
void |
load(IApplication app)
Load this plugin. |
PluginSessionCallback |
sessionStarted(ISession session)
Session has been started. |
void |
setResourcesFactory(IPluginResourcesFactory resourcesFactory)
|
void |
unload()
Application is shutting down so save preferences. |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin |
|---|
getDefaultNodeExpander, getObjectTypes, getSessionPropertiesPanels, registerSessionMenu, sessionCreated, sessionEnding |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
aliasCopied, aliasRemoved, getAliasPropertiesPanelControllers, getApplication, getContributors, getExternalService, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, 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, setApplicationFiles, setFileWrapperFactory |
| Constructor Detail |
|---|
public MysqlPlugin()
| Method Detail |
|---|
public void setResourcesFactory(IPluginResourcesFactory resourcesFactory)
resourcesFactory - the resourcesFactory to setpublic String getInternalName()
public String getDescriptiveName()
IPlugin.getDescriptiveName()public String getVersion()
public String getAuthor()
public void load(IApplication app)
throws PluginException
load in interface IPluginload in class DefaultPluginapp - Application API.
PluginExceptionpublic String getChangeLogFileName()
getChangeLogFileName in interface IPlugingetChangeLogFileName in class DefaultPluginDefaultPlugin.getChangeLogFileName()public String getHelpFileName()
getHelpFileName in interface IPlugingetHelpFileName in class DefaultPluginpublic String getLicenceFileName()
getLicenceFileName in interface IPlugingetLicenceFileName in class DefaultPluginpublic IGlobalPreferencesPanel[] getGlobalPreferencePanels()
getGlobalPreferencePanels in interface IPlugingetGlobalPreferencePanels in class DefaultPlugin
public void initialize()
throws PluginException
initialize in interface IPlugininitialize in class DefaultPluginPluginExceptionpublic void unload()
unload in interface IPluginunload in class DefaultPluginDefaultPlugin.unload()public boolean allowsSessionStartedInBackground()
allowsSessionStartedInBackground in interface ISessionPluginallowsSessionStartedInBackground in class DefaultSessionPluginDefaultSessionPlugin.allowsSessionStartedInBackground()public PluginSessionCallback sessionStarted(ISession session)
session - Session that has started.
protected boolean isPluginSession(ISession session)
isPluginSession in class DefaultSessionPluginisPluginSession(net.sourceforge.squirrel_sql.client.session.ISession)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||