| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.datatools.sqltools.sqleditor.internal.SQLEditorPlugin
public class SQLEditorPlugin
The main plugin class.
| Field Summary | |
|---|---|
| static java.lang.String | PLUGIN_ID | 
| Fields inherited from class org.eclipse.core.runtime.Plugin | 
|---|
| PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME | 
| Constructor Summary | |
|---|---|
| SQLEditorPlugin()Constructs an instance of this class. | |
| Method Summary | |
|---|---|
|  org.eclipse.core.runtime.IStatus | createErrorStatus(java.lang.String message) | 
|  org.eclipse.core.runtime.IStatus | createErrorStatus(java.lang.String message,
                  java.lang.Throwable e) | 
|  org.eclipse.core.runtime.IStatus | createErrorStatus(java.lang.Throwable e) | 
| static org.eclipse.ui.IEditorPart | getActiveEditor() | 
| static org.eclipse.ui.IWorkbenchPage | getActiveWorkbenchPage()Get active workbench page. | 
| static org.eclipse.swt.widgets.Shell | getActiveWorkbenchShell() | 
| static org.eclipse.ui.IWorkbenchWindow | getActiveWorkbenchWindow()Get active workbench window. | 
| static SQLEditorPlugin | getDefault()Returns the shared instance of this plug-in. | 
| static org.eclipse.swt.widgets.Display | getDisplay() | 
|  java.util.Properties | getProperties()Returns the plugin's properties, | 
|  org.eclipse.jface.text.rules.RuleBasedScanner | getSQLCodeScanner()Gets a SQL code scanner. | 
|  SQLColorProvider | getSQLColorProvider()Gets a SQL color provider. | 
| static java.util.Collection | getSQLEditorActionContributorExtension() | 
|  SQLPartitionScanner | getSQLPartitionScanner()Get a scanner for creating SQL partitions. | 
| static org.eclipse.swt.widgets.Display | getStandardDisplay()Returns the standard display to be used. | 
|  org.eclipse.jface.text.templates.ContextTypeRegistry | getTemplateContextTypeRegistry()Returns this plug-in's context type registry. | 
|  SQLContributionTemplateStore | getTemplateStore()Returns this plug-in's template store. | 
|  void | log(org.eclipse.core.runtime.IStatus status)Logs runtime status. | 
|  void | log(java.lang.String message)Logs error message. | 
|  void | log(java.lang.String message,
    java.lang.Throwable e)Logs an error message with an exception. | 
|  void | log(java.lang.Throwable e)Logs and exception. | 
|  void | start(org.osgi.framework.BundleContext context)Handles plug-in activation. | 
|  void | stop(org.osgi.framework.BundleContext context)Handles plug-in deactivation. | 
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin | 
|---|
| getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startup | 
| Methods inherited from class org.eclipse.core.runtime.Plugin | 
|---|
| find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String PLUGIN_ID
| Constructor Detail | 
|---|
public SQLEditorPlugin()
| Method Detail | 
|---|
public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.ExceptionAbstractUIPlugin.start(org.osgi.framework.BundleContext), 
Plugin.start(org.osgi.framework.BundleContext)
public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.ExceptionAbstractUIPlugin.stop(org.osgi.framework.BundleContext), 
Plugin.stop(org.osgi.framework.BundleContext)public static SQLEditorPlugin getDefault()
public SQLPartitionScanner getSQLPartitionScanner()
public org.eclipse.jface.text.rules.RuleBasedScanner getSQLCodeScanner()
public SQLColorProvider getSQLColorProvider()
public void log(org.eclipse.core.runtime.IStatus status)
status - Runtime status.public void log(java.lang.String message)
message - Error message.
public void log(java.lang.String message,
                java.lang.Throwable e)
e - Exception.public void log(java.lang.Throwable e)
e - Exception.public org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.String message)
public org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.Throwable e)
public org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.String message,
                                                          java.lang.Throwable e)
public SQLContributionTemplateStore getTemplateStore()
public org.eclipse.jface.text.templates.ContextTypeRegistry getTemplateContextTypeRegistry()
public java.util.Properties getProperties()
public static org.eclipse.swt.widgets.Display getStandardDisplay()
public static org.eclipse.ui.IWorkbenchPage getActiveWorkbenchPage()
This method acts as a convenience for plug-in implementors.
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
This method exists as a convenience for plug-in implementors.
public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.swt.widgets.Display getDisplay()
public static org.eclipse.ui.IEditorPart getActiveEditor()
public static java.util.Collection getSQLEditorActionContributorExtension()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||