org.eclipse.ptp.debug.core
Class PTPDebugCorePlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ptp.debug.core.PTPDebugCorePlugin
- All Implemented Interfaces:
- BundleActivator
public class PTPDebugCorePlugin
- extends org.eclipse.core.runtime.Plugin
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
INTERNAL_ERROR
public static final int INTERNAL_ERROR
- See Also:
- Constant Field Values
FAMILY_EVENT
public static final Object FAMILY_EVENT
- Constant identifying the job family identifier for the background event
job.
PDEBUGGER_EXTENSION_POINT_ID
public static final String PDEBUGGER_EXTENSION_POINT_ID
- See Also:
- Constant Field Values
DEBUGGER_ELEMENT
public static final String DEBUGGER_ELEMENT
- See Also:
- Constant Field Values
PTPDebugCorePlugin
public PTPDebugCorePlugin()
getDebugModel
public static PDebugModel getDebugModel()
- Returns:
getDefault
public static PTPDebugCorePlugin getDefault()
- Returns:
getUniqueIdentifier
public static String getUniqueIdentifier()
- Returns:
getWorkspace
public static org.eclipse.core.resources.IWorkspace getWorkspace()
- Returns:
log
public static void log(org.eclipse.core.runtime.IStatus status)
- Parameters:
status
-
log
public static void log(String message)
- Parameters:
message
-
log
public static void log(Throwable t)
- Parameters:
t
-
addDebugEventListener
public void addDebugEventListener(IPDebugEventListener listener)
- Parameters:
listener
-
fireDebugEvent
public void fireDebugEvent(IPDebugEvent event)
- Parameters:
event
-
getCommandTimeout
public int getCommandTimeout()
- Returns:
getCommonSourceLocations
public IPSourceLocation[] getCommonSourceLocations()
- Returns:
getCommonSourceLookupDirector
public PSourceLookupDirector getCommonSourceLookupDirector()
- Returns:
getDebugConfiguration
public IPDebugConfiguration getDebugConfiguration(String id)
throws org.eclipse.core.runtime.CoreException
- Parameters:
id
-
- Returns:
-
- Throws:
org.eclipse.core.runtime.CoreException
getDebugConfigurations
public IPDebugConfiguration[] getDebugConfigurations()
- Returns:
isDispatching
public boolean isDispatching()
- Returns whether debug events are being dispatched
isShuttingDown
public boolean isShuttingDown()
- Returns whether this plug-in is in the process of being shutdown.
- Returns:
- whether this plug-in is in the process of being shutdown
removeDebugEventListener
public void removeDebugEventListener(IPDebugEventListener listener)
- Parameters:
listener
-
setShuttingDown
public void setShuttingDown(boolean value)
- Sets whether this plug-in is in the process of being shutdown.
- Parameters:
value
- whether this plug-in is in the process of being shutdown
start
public void start(BundleContext context)
throws Exception
- Specified by:
start
in interface BundleActivator
- Overrides:
start
in class org.eclipse.core.runtime.Plugin
- Throws:
Exception
stop
public void stop(BundleContext context)
throws Exception
- Specified by:
stop
in interface BundleActivator
- Overrides:
stop
in class org.eclipse.core.runtime.Plugin
- Throws:
Exception
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.