|
||||||||||
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.cdt.debug.ui.CDebugUIPlugin
public class CDebugUIPlugin
The main plugin class to be used in the desktop.
Field Summary | |
---|---|
static java.lang.String |
CDEBUGGER_PAGE_EXTENSION_POINT_ID
|
static java.lang.String |
DEBUGGER_PAGE_ELEMENT
|
static java.lang.String |
PLUGIN_ID
The plug-in identifier (value "org.eclipse.cdt.debug.ui" ). |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
CDebugUIPlugin()
The constructor. |
Method Summary | |
---|---|
static org.eclipse.debug.core.model.IPersistableSourceLocator |
createDefaultSourceLocator()
|
static void |
errorDialog(java.lang.String message,
org.eclipse.core.runtime.IStatus status)
|
static void |
errorDialog(java.lang.String message,
java.lang.Throwable t)
|
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
|
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
Returns the active workbench shell or null if none |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the active workbench window |
ICDebuggerPage |
getDebuggerPage(java.lang.String debuggerID)
|
static CDebugModelPresentation |
getDebugModelPresentation()
|
static CDebugUIPlugin |
getDefault()
Returns the shared instance. |
static java.lang.String |
getDefaultSourceLocatorID()
|
static java.lang.String |
getDefaultSourceLocatorOldID()
|
static CDebugImageDescriptorRegistry |
getImageDescriptorRegistry()
Returns the image descriptor registry used for this plugin. |
static org.eclipse.swt.graphics.Color |
getPreferenceColor(java.lang.String type)
Returns the a color based on the type of output. |
org.eclipse.jface.text.source.ISharedTextColors |
getSharedTextColors()
Returns the shared text colors of this plug-in. |
static org.eclipse.swt.widgets.Display |
getStandardDisplay()
Returns the standard display to be used. |
static java.lang.String |
getUniqueIdentifier()
Convenience method which returns the unique identifier of this plugin. |
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns the workspace instance. |
static void |
log(org.eclipse.core.runtime.IStatus status)
Logs the specified status with this plug-in's log. |
static void |
log(java.lang.Throwable e)
Logs an internal error with the specified throwable |
static void |
logErrorMessage(java.lang.String message)
Logs an internal error with the specified message. |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
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
"org.eclipse.cdt.debug.ui"
).
public static final java.lang.String CDEBUGGER_PAGE_EXTENSION_POINT_ID
public static final java.lang.String DEBUGGER_PAGE_ELEMENT
Constructor Detail |
---|
public CDebugUIPlugin()
Method Detail |
---|
public static CDebugUIPlugin getDefault()
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static java.lang.String getUniqueIdentifier()
public static org.eclipse.swt.graphics.Color getPreferenceColor(java.lang.String type)
public static CDebugModelPresentation getDebugModelPresentation()
public static void log(org.eclipse.core.runtime.IStatus status)
status
- status to logpublic static void log(java.lang.Throwable e)
e
- the exception to be loggedpublic static void logErrorMessage(java.lang.String message)
message
- the error message to logpublic ICDebuggerPage getDebuggerPage(java.lang.String debuggerID) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void errorDialog(java.lang.String message, org.eclipse.core.runtime.IStatus status)
public static void errorDialog(java.lang.String message, java.lang.Throwable t)
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static org.eclipse.ui.IWorkbenchPage getActivePage()
public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
null
if none
null
if nonepublic static org.eclipse.swt.widgets.Display getStandardDisplay()
public static CDebugImageDescriptorRegistry getImageDescriptorRegistry()
public static org.eclipse.debug.core.model.IPersistableSourceLocator createDefaultSourceLocator()
public static java.lang.String getDefaultSourceLocatorID()
public static java.lang.String getDefaultSourceLocatorOldID()
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public org.eclipse.jface.text.source.ISharedTextColors getSharedTextColors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |