org.eclipse.internal.xpand2.debug
Class XpandElementAdapter
java.lang.Object
org.eclipse.internal.xtend.expression.debug.ExpressionElementAdapter
org.eclipse.internal.xpand2.debug.XpandElementAdapter
- All Implemented Interfaces:
- org.eclipse.emf.mwe.core.debug.processing.ElementAdapter
public class XpandElementAdapter
- extends ExpressionElementAdapter
The IElementAdapter implementation for Xpand statements.
- Author:
- Clemens Kadura (zAJKa)
|
Field Summary |
static java.lang.String |
TYPE
|
|
Method Summary |
boolean |
canHandle(java.lang.Object element)
|
org.eclipse.emf.mwe.core.debug.model.SyntaxElement |
createEndElementTO(java.lang.Object element)
|
java.lang.Object |
findElement(org.eclipse.emf.mwe.core.debug.model.SyntaxElement se,
java.lang.Object actual,
int flag)
|
java.lang.String |
getAdapterType()
|
java.util.List<org.eclipse.emf.mwe.core.debug.model.NameValuePair> |
getVariables(java.lang.Object element)
|
boolean |
isSurroundingElement(java.lang.Object element)
|
boolean |
shallHandle(java.lang.Object element)
|
| 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
XpandElementAdapter
public XpandElementAdapter()
getAdapterType
public java.lang.String getAdapterType()
- Specified by:
getAdapterType in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter- Overrides:
getAdapterType in class ExpressionElementAdapter
canHandle
public boolean canHandle(java.lang.Object element)
- Specified by:
canHandle in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter- Overrides:
canHandle in class ExpressionElementAdapter
shallHandle
public boolean shallHandle(java.lang.Object element)
- Specified by:
shallHandle in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter- Overrides:
shallHandle in class ExpressionElementAdapter
isSurroundingElement
public boolean isSurroundingElement(java.lang.Object element)
- Specified by:
isSurroundingElement in interface org.eclipse.emf.mwe.core.debug.processing.ElementAdapter- Overrides:
isSurroundingElement in class ExpressionElementAdapter
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- Overrides:
createEndElementTO in class ExpressionElementAdapter
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- Overrides:
getVariables in class ExpressionElementAdapter
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- Overrides:
findElement in class ExpressionElementAdapter