|
||||||||||
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.launch.internal.ui.LaunchUIPlugin
public class LaunchUIPlugin
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 | |
---|---|
LaunchUIPlugin()
Constructor for LaunchUIPlugin. |
Method Summary | |
---|---|
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 |
static LaunchUIPlugin |
getDefault()
Returns the Java Debug UI plug-in instance |
static org.eclipse.swt.widgets.Shell |
getShell()
|
static java.lang.String |
getUniqueIdentifier()
Convenience method which returns the unique identifier of this plugin. |
void |
handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events)
Notifies this listener of the given debug events. |
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. |
static void |
setDialogShell(org.eclipse.swt.widgets.Shell shell)
|
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
Constructor Detail |
---|
public LaunchUIPlugin()
descriptor
- Method Detail |
---|
public static LaunchUIPlugin getDefault()
public static org.eclipse.swt.widgets.Shell getShell()
public static void setDialogShell(org.eclipse.swt.widgets.Shell shell)
public static java.lang.String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status
- status to logpublic static void logErrorMessage(java.lang.String message)
message
- the error message to logpublic static void log(java.lang.Throwable e)
e
- the exception to be loggedpublic 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 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 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 void handleDebugEvents(org.eclipse.debug.core.DebugEvent[] events)
handleDebugEvents
in interface org.eclipse.debug.core.IDebugEventSetListener
events
- the debug events
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |