net.sourceforge.squirrel_sql.plugins.refactoring
Class RefactoringPlugin

java.lang.Object
  extended by net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin
      extended by net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin
          extended by net.sourceforge.squirrel_sql.plugins.refactoring.RefactoringPlugin
All Implemented Interfaces:
IPlugin, ISessionPlugin

public class RefactoringPlugin
extends DefaultSessionPlugin

The Refactoring plugin class.


Field Summary
static String BUNDLE_BASE_NAME
           
 
Fields inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin
_app, applicationFiles, fileWrapperFactory
 
Constructor Summary
RefactoringPlugin()
           
 
Method Summary
 boolean allowsSessionStartedInBackground()
           
 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
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
 

Field Detail

BUNDLE_BASE_NAME

public static final String BUNDLE_BASE_NAME
See Also:
Constant Field Values
Constructor Detail

RefactoringPlugin

public RefactoringPlugin()
Method Detail

getInternalName

public String getInternalName()
Return the internal name of this plugin.

Returns:
the internal name of this plugin.

getDescriptiveName

public String getDescriptiveName()
Return the descriptive name of this plugin.

Returns:
the descriptive name of this plugin.

getVersion

public String getVersion()
Returns the current version of this plugin.

Returns:
the current version of this plugin.

getAuthor

public String getAuthor()
Returns the authors name.

Returns:
the authors name.

getChangeLogFileName

public String getChangeLogFileName()
Returns the name of the change log for the plugin. This should be a text or HTML file residing in the getPluginAppSettingsFolder directory.

Specified by:
getChangeLogFileName in interface IPlugin
Overrides:
getChangeLogFileName in class DefaultPlugin
Returns:
the changelog file name or null if plugin doesn't have a change log.

getHelpFileName

public String getHelpFileName()
Returns the name of the Help file for the plugin. This should be a text or HTML file residing in the getPluginAppSettingsFolder directory.

Specified by:
getHelpFileName in interface IPlugin
Overrides:
getHelpFileName in class DefaultPlugin
Returns:
the Help file name or null if plugin doesn't have a help file.

getLicenceFileName

public String getLicenceFileName()
Returns the name of the Licence file for the plugin. This should be a text or HTML file residing in the getPluginAppSettingsFolder directory.

Specified by:
getLicenceFileName in interface IPlugin
Overrides:
getLicenceFileName in class DefaultPlugin
Returns:
the Licence file name or null if plugin doesn't have a licence file.

getContributors

public String getContributors()
Specified by:
getContributors in interface IPlugin
Overrides:
getContributors in class DefaultPlugin
Returns:
Comma separated list of contributors.

getGlobalPreferencePanels

public IGlobalPreferencesPanel[] getGlobalPreferencePanels()
Create preferences panel for the Global Preferences dialog.

Specified by:
getGlobalPreferencePanels in interface IPlugin
Overrides:
getGlobalPreferencePanels in class DefaultPlugin
Returns:
Preferences panel.

initialize

public void initialize()
                throws PluginException
Initialize this plugin.

Specified by:
initialize in interface IPlugin
Overrides:
initialize in class DefaultPlugin
Throws:
PluginException

allowsSessionStartedInBackground

public boolean allowsSessionStartedInBackground()
Specified by:
allowsSessionStartedInBackground in interface ISessionPlugin
Overrides:
allowsSessionStartedInBackground in class DefaultSessionPlugin

sessionStarted

public PluginSessionCallback sessionStarted(ISession session)
Called when a session started. Add commands to popup menu in object tree.

Parameters:
session - The session that is starting.
Returns:
true to indicate that this plugin is applicable to passed session.


Copyright © 2001-2012. All Rights Reserved.