|
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 String |
DEBUGGERID_ELEMENT
|
protected Map<String,org.eclipse.core.runtime.IConfigurationElement> |
fDebuggerPageMap
|
static String |
PDEBUGGERCONFIGURATION_EXTENSION_POINT_ID
|
static 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,
String title,
org.eclipse.core.runtime.IStatus s)
Show error dialog |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
String title,
String message,
org.eclipse.core.runtime.IStatus s)
Show error dialog |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
String title,
String message,
Throwable t)
Show error dialog |
static void |
errorDialog(org.eclipse.swt.widgets.Shell shell,
String title,
Throwable t)
Show error dialog |
static void |
errorDialog(String title,
org.eclipse.core.runtime.IStatus s)
Show error dialog |
static void |
errorDialog(String title,
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(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(String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle, |
static String |
getResourceString(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 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(String msg)
Log |
static void |
log(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 String PLUGIN_ID
public static final String PDEBUGGERCONFIGURATION_EXTENSION_POINT_ID
public static final String DEBUGGERID_ELEMENT
protected Map<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,
String title,
org.eclipse.core.runtime.IStatus s)
shell - title - s -
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
String title,
String message,
org.eclipse.core.runtime.IStatus s)
shell - title - message - s -
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
String title,
String message,
Throwable t)
shell - title - message - t -
public static void errorDialog(org.eclipse.swt.widgets.Shell shell,
String title,
Throwable t)
shell - title - t -
public static void errorDialog(String title,
org.eclipse.core.runtime.IStatus s)
title - s -
public static void errorDialog(String title,
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(String path)
path - the path
public static String getResourceString(String key)
public static org.eclipse.swt.widgets.Shell getShell()
public static org.eclipse.swt.widgets.Display getStandardDisplay()
public static UIDebugManager getUIDebugManager()
public static 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(String msg)
msg - public static void log(Throwable e)
e -
public ILaunchConfigurationTab getDebuggerPage(String debuggerID)
throws org.eclipse.core.runtime.CoreException
debuggerID -
org.eclipse.core.runtime.CoreExceptionpublic ResourceBundle getResourceBundle()
public void start(BundleContext context)
throws Exception
start in interface BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginException
public void stop(BundleContext context)
throws Exception
stop in interface BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginExceptionprotected 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 | |||||||||