|
Eclipse JDT Release 3.6 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.debug.ui.JavaDebugUtils
public class JavaDebugUtils
Utilities for the Java debugger.
Constructor Summary | |
---|---|
JavaDebugUtils()
|
Method Summary | |
---|---|
static org.eclipse.debug.core.model.IDebugElement |
getContendedMonitor(org.eclipse.debug.core.model.IThread thread)
Returns a debug element representing a monitor in contention with the given thread's underlying IJavaThread , or null
if none. |
static org.eclipse.debug.core.model.IDebugElement[] |
getOwnedMonitors(org.eclipse.debug.core.model.IThread thread)
Returns a collection of debug elements representing the monitors owned by the given thread's underlying IJavaThread , or an empty
collection if none. |
static org.eclipse.jface.preference.IPreferenceStore |
getPreferenceStore()
Returns the preference store for the Java Debug UI plug-in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaDebugUtils()
Method Detail |
---|
public static org.eclipse.debug.core.model.IDebugElement[] getOwnedMonitors(org.eclipse.debug.core.model.IThread thread)
IJavaThread
, or an empty
collection if none.
The result will be empty when the user has turned off the preference to show monitor information.
thread
- an IJavaThread
or a thread with an IJavaThread
adapter
IJavaThread
, possibly emptypublic static org.eclipse.debug.core.model.IDebugElement getContendedMonitor(org.eclipse.debug.core.model.IThread thread)
IJavaThread
, or null
if none.
The result will be null
when the user has turned off the preference
to show monitor information.
thread
- an IJavaThread
or a thread with an IJavaThread
adapter
IJavaThread
, or null
public static org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
|
Eclipse JDT Release 3.6 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |