public abstract class XExecutionStack
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
XExecutionStack.XStackFrameContainer |
Modifier and Type | Field and Description |
---|---|
static XExecutionStack[] |
EMPTY_ARRAY |
Modifier | Constructor and Description |
---|---|
protected |
XExecutionStack(java.lang.String displayName) |
protected |
XExecutionStack(java.lang.String displayName,
javax.swing.Icon icon) |
Modifier and Type | Method and Description |
---|---|
abstract void |
computeStackFrames(int firstFrameIndex,
XExecutionStack.XStackFrameContainer container)
Start computing stack frames top-down starting from
firstFrameIndex . |
java.lang.String |
getDisplayName() |
GutterIconRenderer |
getExecutionLineIconRenderer()
Override this method to provide an icon with optional tooltip and popup actions.
|
javax.swing.Icon |
getIcon() |
abstract XStackFrame |
getTopFrame()
Return top stack frame synchronously
|
public static final XExecutionStack[] EMPTY_ARRAY
protected XExecutionStack(java.lang.String displayName)
displayName
- presentable name of the thread to be shown in the combobox in 'Frames' tabprotected XExecutionStack(java.lang.String displayName, javax.swing.Icon icon)
displayName
- presentable name of the thread to be shown in the combobox in 'Frames' tabicon
- icon to be shown in the combobox in 'Frames' tabpublic final java.lang.String getDisplayName()
public final javax.swing.Icon getIcon()
public GutterIconRenderer getExecutionLineIconRenderer()
public abstract XStackFrame getTopFrame()
null
if it isn't availablepublic abstract void computeStackFrames(int firstFrameIndex, XExecutionStack.XStackFrameContainer container)
firstFrameIndex
. This method is called from the Event Dispatch Thread
so it should return quicklyfirstFrameIndex
- frame index to start from (1
corresponds to the frame just under the top frame)container
- callback