org.eclipse.internal.xtend.expression.debug
Class ExpressionElementAdapter
java.lang.Object
org.eclipse.internal.xtend.expression.debug.ExpressionElementAdapter
- All Implemented Interfaces:
- org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
- Direct Known Subclasses:
- XpandElementAdapter
public class ExpressionElementAdapter
- extends java.lang.Object
- implements org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
The ElementAdapter implementation for expressions.
- Author:
- Bernd Kolb, Clemens Kadura (zAJKa), Karsten Thoms (itemis) - maintenance, Aykut Kilic (itemis) - Bug#465802,480646,480645,482602
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
context
protected ExecutionContext context
pres
protected ExpressionModelPresentation pres
specials
protected java.util.Set<BaseSpecialTreatment> specials
ExpressionElementAdapter
public ExpressionElementAdapter()
getContext
public ExecutionContext getContext()
- Specified by:
getContext in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
setContext
public void setContext(java.lang.Object context)
- Specified by:
setContext in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
getAdapterType
public java.lang.String getAdapterType()
- Specified by:
getAdapterType in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
canHandle
public boolean canHandle(java.lang.Object element)
- Specified by:
canHandle in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
shallHandle
public boolean shallHandle(java.lang.Object element)
- Specified by:
shallHandle in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
shallSuspend
public boolean shallSuspend(java.lang.Object element,
int flag)
- Specified by:
shallSuspend in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
shallAddToCallStack
public boolean shallAddToCallStack(java.lang.Object element)
- Specified by:
shallAddToCallStack in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
- Since:
- 2.2
createElement
public org.eclipse.emf.mwe.core.debug.model.SyntaxElement createElement(java.lang.Object element)
- Specified by:
createElement in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
isSurroundingElement
public boolean isSurroundingElement(java.lang.Object element)
- Specified by:
isSurroundingElement in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
createEndElementTO
public org.eclipse.emf.mwe.core.debug.model.SyntaxElement createEndElementTO(java.lang.Object element)
- Specified by:
createEndElementTO in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
getVariableDetailRep
public java.lang.String getVariableDetailRep(java.lang.Object element)
- Specified by:
getVariableDetailRep in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
getVariableSimpleRep
public java.lang.String getVariableSimpleRep(java.lang.Object element)
- Specified by:
getVariableSimpleRep in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
checkVariableHasMembers
public boolean checkVariableHasMembers(java.lang.Object element)
- Specified by:
checkVariableHasMembers in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
getVariables
public java.util.List<org.eclipse.emf.mwe.core.debug.model.NameValuePair> getVariables(java.lang.Object element)
- Specified by:
getVariables in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
findElement
public java.lang.Object findElement(org.eclipse.emf.mwe.core.debug.model.SyntaxElement se,
java.lang.Object actual,
int flag)
- Specified by:
findElement in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
getAllVisibleVariables
protected java.util.ArrayList<org.eclipse.emf.mwe.core.debug.model.NameValuePair> getAllVisibleVariables()
getAllFeatures
public final java.util.Set<Callable> getAllFeatures(Type type)