Package org.eclipse.m2m.atl.adt.debug.ui
Class AtlDebugModelPresentation
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
org.eclipse.m2m.atl.adt.debug.ui.AtlDebugModelPresentation
- All Implemented Interfaces:
org.eclipse.debug.ui.IDebugModelPresentation
,org.eclipse.debug.ui.ISourcePresentation
,org.eclipse.jface.viewers.IBaseLabelProvider
,org.eclipse.jface.viewers.ILabelProvider
public class AtlDebugModelPresentation
extends org.eclipse.jface.viewers.LabelProvider
implements org.eclipse.debug.ui.IDebugModelPresentation
A debug model presentation is responsible for providing labels, images, and editors associated with debug
elements in a specific debug model. To allow for an extensible configuration, IDebugModelPresentation
interface defines a setAttribute method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
If you add a constant here, look in the class AtlVariable if the value is not already used.Fields inherited from interface org.eclipse.debug.ui.IDebugModelPresentation
DISPLAY_VARIABLE_TYPE_NAMES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
computeDetail
(org.eclipse.debug.core.model.IValue value, org.eclipse.debug.ui.IValueDetailListener listener) org.eclipse.ui.IEditorInput
Returns the disassembly editor.getEditorId
(org.eclipse.ui.IEditorInput input, Object element) org.eclipse.ui.IEditorInput
getEditorInput
(Object element) org.eclipse.swt.graphics.Image
void
setAttribute
(String attribute, Object value) Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProvider
Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
-
Field Details
-
BREAKPOINT
public static final int BREAKPOINTIf you add a constant here, look in the class AtlVariable if the value is not already used.- See Also:
-
-
Constructor Details
-
AtlDebugModelPresentation
public AtlDebugModelPresentation()
-
-
Method Details
-
setAttribute
- Specified by:
setAttribute
in interfaceorg.eclipse.debug.ui.IDebugModelPresentation
- See Also:
-
IDebugModelPresentation.setAttribute(java.lang.String, java.lang.Object)
-
getImage
- Specified by:
getImage
in interfaceorg.eclipse.debug.ui.IDebugModelPresentation
- Specified by:
getImage
in interfaceorg.eclipse.jface.viewers.ILabelProvider
- Overrides:
getImage
in classorg.eclipse.jface.viewers.LabelProvider
- See Also:
-
LabelProvider.getImage(java.lang.Object)
-
getText
- Specified by:
getText
in interfaceorg.eclipse.debug.ui.IDebugModelPresentation
- Specified by:
getText
in interfaceorg.eclipse.jface.viewers.ILabelProvider
- Overrides:
getText
in classorg.eclipse.jface.viewers.LabelProvider
- See Also:
-
LabelProvider.getText(java.lang.Object)
-
computeDetail
public void computeDetail(org.eclipse.debug.core.model.IValue value, org.eclipse.debug.ui.IValueDetailListener listener) - Specified by:
computeDetail
in interfaceorg.eclipse.debug.ui.IDebugModelPresentation
- See Also:
-
IDebugModelPresentation.computeDetail(org.eclipse.debug.core.model.IValue, org.eclipse.debug.ui.IValueDetailListener)
-
getDisassemblyEditorInput
Returns the disassembly editor.- Parameters:
frame
- the frame context- Returns:
- the disassembly editor
-
getEditorInput
- Specified by:
getEditorInput
in interfaceorg.eclipse.debug.ui.ISourcePresentation
- See Also:
-
ISourcePresentation.getEditorInput(java.lang.Object)
-
getEditorId
- Specified by:
getEditorId
in interfaceorg.eclipse.debug.ui.ISourcePresentation
- See Also:
-
ISourcePresentation.getEditorId(org.eclipse.ui.IEditorInput, java.lang.Object)
-