|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.debug.internal.ui.CDebugUIUtils
public class CDebugUIUtils
Utility methods for C/C++ Debug UI.
Constructor Summary | |
---|---|
CDebugUIUtils()
|
Method Summary | |
---|---|
static java.lang.String |
decorateText(java.lang.Object element,
java.lang.String text)
|
static org.eclipse.jface.text.IRegion |
findWord(org.eclipse.jface.text.IDocument document,
int offset)
|
static ICStackFrame |
getCurrentStackFrame()
Returns the currently selected stack frame or the topmost frame in the currently selected thread in the Debug view of the current workbench page. |
static java.lang.String |
getValueText(org.eclipse.debug.core.model.IValue value)
Moved from CDebugModelPresentation because it is also used by CVariableLabelProvider. |
static java.lang.String |
getVariableName(org.eclipse.debug.core.model.IVariable variable)
|
static java.lang.String |
getVariableTypeName(ICType type)
Moved from CDebugModelPresentation because it is also used by CVariableLabelProvider. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDebugUIUtils()
Method Detail |
---|
public static org.eclipse.jface.text.IRegion findWord(org.eclipse.jface.text.IDocument document, int offset)
public static ICStackFrame getCurrentStackFrame()
null
if no stack frame or thread is selected, or if not called from the UI thread.
public static java.lang.String getValueText(org.eclipse.debug.core.model.IValue value)
public static java.lang.String getVariableTypeName(ICType type)
public static java.lang.String getVariableName(org.eclipse.debug.core.model.IVariable variable) throws org.eclipse.debug.core.DebugException
org.eclipse.debug.core.DebugException
public static java.lang.String decorateText(java.lang.Object element, java.lang.String text)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |