|
||||||||||
| 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.oracle.OraclePlugin
public class OraclePlugin
Oracle 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 | |
|---|---|
OraclePlugin()
|
|
| Method Summary | |
|---|---|
void |
aliasCopied(SQLAlias source,
SQLAlias target)
|
void |
aliasRemoved(SQLAlias alias)
|
static boolean |
checkObjectAccessible(ISession session,
String query)
Check if we can run query. |
IAliasPropertiesPanelController[] |
getAliasPropertiesPanelControllers(SQLAlias alias)
Create Alias prefs panel. |
String |
getAuthor()
Returns the authors name. |
String |
getChangeLogFileName()
|
String |
getContributors()
Returns a comma separated list of other contributors. |
INodeExpander |
getDefaultNodeExpander(ISession session,
DatabaseObjectType type)
Return a node expander for the object tree for a particular default node type. |
String |
getDescriptiveName()
Return the descriptive name of this plugin. |
IGlobalPreferencesPanel[] |
getGlobalPreferencePanels()
Create panel for the Global Properties dialog. |
String |
getHelpFileName()
|
String |
getInternalName()
Return the internal name of this plugin. |
String |
getLicenceFileName()
|
String |
getVersion()
Returns the current version of this plugin. |
void |
initialize()
|
protected boolean |
isPluginSession(ISession session)
|
void |
load(IApplication app)
|
void |
sessionEnding(ISession session)
Called when a session shutdown. |
PluginSessionCallback |
sessionStarted(ISession session)
|
void |
unload()
|
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultSessionPlugin |
|---|
allowsSessionStartedInBackground, getObjectTypes, getSessionPropertiesPanels, registerSessionMenu, sessionCreated |
| Methods inherited from class net.sourceforge.squirrel_sql.client.plugin.DefaultPlugin |
|---|
getApplication, 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 |
|---|
getExternalService, getNewSessionPropertiesPanels, getPluginAppSettingsFolder, getPluginJarFilePath, getPluginUserSettingsFolder, getWebSite, setApplicationFiles, setFileWrapperFactory |
| Field Detail |
|---|
public static final String BUNDLE_BASE_NAME
| Constructor Detail |
|---|
public OraclePlugin()
| Method Detail |
|---|
public String getInternalName()
public String getDescriptiveName()
public String getVersion()
public String getAuthor()
public String getContributors()
getContributors in interface IPlugingetContributors in class DefaultPluginpublic String getChangeLogFileName()
getChangeLogFileName in interface IPlugingetChangeLogFileName in class DefaultPluginIPlugin.getChangeLogFileName()public String getHelpFileName()
getHelpFileName in interface IPlugingetHelpFileName in class DefaultPluginIPlugin.getHelpFileName()public String getLicenceFileName()
getLicenceFileName in interface IPlugingetLicenceFileName in class DefaultPluginIPlugin.getLicenceFileName()public IGlobalPreferencesPanel[] getGlobalPreferencePanels()
getGlobalPreferencePanels in interface IPlugingetGlobalPreferencePanels in class DefaultPlugin
public void initialize()
throws PluginException
initialize in interface IPlugininitialize in class DefaultPluginPluginException
public void load(IApplication app)
throws PluginException
load in interface IPluginload in class DefaultPluginPluginExceptionpublic void unload()
unload in interface IPluginunload in class DefaultPluginpublic IAliasPropertiesPanelController[] getAliasPropertiesPanelControllers(SQLAlias alias)
getAliasPropertiesPanelControllers in interface IPlugingetAliasPropertiesPanelControllers in class DefaultPlugin
public void aliasCopied(SQLAlias source,
SQLAlias target)
aliasCopied in interface IPluginaliasCopied in class DefaultPluginpublic void aliasRemoved(SQLAlias alias)
aliasRemoved in interface IPluginaliasRemoved in class DefaultPluginpublic void sessionEnding(ISession session)
sessionEnding in interface ISessionPluginsessionEnding in class DefaultSessionPluginsession - The session that is ending.public PluginSessionCallback sessionStarted(ISession session)
protected boolean isPluginSession(ISession session)
isPluginSession in class DefaultSessionPluginisPluginSession(net.sourceforge.squirrel_sql.client.session.ISession)
public INodeExpander getDefaultNodeExpander(ISession session,
DatabaseObjectType type)
getDefaultNodeExpander in interface ISessionPlugingetDefaultNodeExpander in class DefaultSessionPlugin
public static boolean checkObjectAccessible(ISession session,
String query)
session - sessionquery - query text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||