|
PTP Release 5.0 |
|||||||||
| 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.ptp.debug.ui.PTPDebugUIPlugin
public class PTPDebugUIPlugin
| Field Summary | |
|---|---|
static java.lang.String |
DEBUGGERID_ELEMENT
|
protected java.util.Map<java.lang.String,org.eclipse.core.runtime.IConfigurationElement> |
fDebuggerPageMap
|
static java.lang.String |
PDEBUGGERCONFIGURATION_EXTENSION_POINT_ID
|
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 | |
|---|---|
PTPDebugUIPlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static org.eclipse.debug.core.model.IPersistableSourceLocator |
createDefaultSourceLocator()
Create a default source locator |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
org.eclipse.core.runtime.IStatus s)
Show error dialog |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
org.eclipse.core.runtime.IStatus s)
Show error dialog |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.Throwable t)
Show error dialog |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.Throwable t)
Show error dialog |
static void |
errorDialog(java.lang.String title,
org.eclipse.core.runtime.IStatus s)
Show error dialog |
static void |
errorDialog(java.lang.String title,
java.lang.Throwable t)
Show error dialog |
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
Get active workbench shell |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Get active workbench window |
ILaunchConfigurationTab |
getDebuggerPage(java.lang.String debuggerID)
Get launch debugger tab |
static IDebugModelPresentation |
getDebugModelPresentation()
|
static PTPDebugUIPlugin |
getDefault()
Returns the shared instance. |
static org.eclipse.swt.widgets.Display |
getDisplay()
Get display |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
java.util.ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle, |
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
static org.eclipse.swt.widgets.Shell |
getShell()
Get shell |
static org.eclipse.swt.widgets.Display |
getStandardDisplay()
Get standard display |
static UIDebugManager |
getUIDebugManager()
|
static java.lang.String |
getUniqueIdentifier()
Get unique identifier of plugin |
protected void |
initializeDebuggerPageMap()
Initialize launch debugger page |
protected void |
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
|
static boolean |
isPTPDebugPerspective()
Test if the current perspective is the PTP debug perspective |
static boolean |
isPTPPerspective()
Test if the current perspective is one supplied by PTP |
static void |
log(org.eclipse.core.runtime.IStatus status)
Log |
static void |
log(java.lang.String msg)
Log |
static void |
log(java.lang.Throwable e)
Log |
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PLUGIN_ID
public static final java.lang.String PDEBUGGERCONFIGURATION_EXTENSION_POINT_ID
public static final java.lang.String DEBUGGERID_ELEMENT
protected java.util.Map<java.lang.String,org.eclipse.core.runtime.IConfigurationElement> fDebuggerPageMap
| Constructor Detail |
|---|
public PTPDebugUIPlugin()
| Method Detail |
|---|
public static org.eclipse.debug.core.model.IPersistableSourceLocator createDefaultSourceLocator()
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
org.eclipse.core.runtime.IStatus s)
shell - title - s -
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
org.eclipse.core.runtime.IStatus s)
shell - title - message - s -
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String message,
java.lang.Throwable t)
shell - title - message - t -
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.Throwable t)
shell - title - t -
public static void errorDialog(java.lang.String title,
org.eclipse.core.runtime.IStatus s)
title - s -
public static void errorDialog(java.lang.String title,
java.lang.Throwable t)
title - t - public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static IDebugModelPresentation getDebugModelPresentation()
public static PTPDebugUIPlugin getDefault()
public static org.eclipse.swt.widgets.Display getDisplay()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
path - the path
public static java.lang.String getResourceString(java.lang.String key)
public static org.eclipse.swt.widgets.Shell getShell()
public static org.eclipse.swt.widgets.Display getStandardDisplay()
public static UIDebugManager getUIDebugManager()
public static java.lang.String getUniqueIdentifier()
public static boolean isPTPDebugPerspective()
public static boolean isPTPPerspective()
public static void log(org.eclipse.core.runtime.IStatus status)
status - public static void log(java.lang.String msg)
msg - public static void log(java.lang.Throwable e)
e -
public ILaunchConfigurationTab getDebuggerPage(java.lang.String debuggerID)
throws org.eclipse.core.runtime.CoreException
debuggerID -
org.eclipse.core.runtime.CoreExceptionpublic java.util.ResourceBundle getResourceBundle()
public void start(BundleContext context)
throws java.lang.Exception
start in interface BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
stop in interface BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exceptionprotected void initializeDebuggerPageMap()
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
initializeImageRegistry in class org.eclipse.ui.plugin.AbstractUIPlugin
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||