org.eclipse.internal.xpand2.debug
Class XpandModelPresentation

java.lang.Object
  extended by org.eclipse.internal.xtend.expression.debug.ExpressionModelPresentation
      extended by org.eclipse.internal.xpand2.debug.XpandModelPresentation

public class XpandModelPresentation
extends ExpressionModelPresentation

This class is responsible for all presentation topics for Xpand statements in the debugger views.

Author:
Clemens Kadura (zAJKa)

Nested Class Summary
 class XpandModelPresentation.ElementRepresentation
           
 
Field Summary
static java.util.Map<java.lang.Class<? extends ISyntaxElement>,XpandModelPresentation.ElementRepresentation> eReps
           
 
Fields inherited from class org.eclipse.internal.xtend.expression.debug.ExpressionModelPresentation
specials
 
Constructor Summary
XpandModelPresentation(java.util.Set<BaseSpecialTreatment> specials)
           
 
Method Summary
protected  java.lang.String getContainerName(ISyntaxElement se)
           
 org.eclipse.emf.mwe.core.debug.model.SyntaxElement getEndPresentation(ISyntaxElement element, ExecutionContext context)
           
 int getStartingEndPosition(ISyntaxElement stmt)
           
 org.eclipse.emf.mwe.core.debug.model.SyntaxElement getStartPresentation(ISyntaxElement stmt, ExecutionContext context)
           
 
Methods inherited from class org.eclipse.internal.xtend.expression.debug.ExpressionModelPresentation
getResource, getStart, getStringRep, getTemplateName, getVariableSimpleRep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eReps

public static java.util.Map<java.lang.Class<? extends ISyntaxElement>,XpandModelPresentation.ElementRepresentation> eReps
Constructor Detail

XpandModelPresentation

public XpandModelPresentation(java.util.Set<BaseSpecialTreatment> specials)
Method Detail

getStartPresentation

public org.eclipse.emf.mwe.core.debug.model.SyntaxElement getStartPresentation(ISyntaxElement stmt,
                                                                               ExecutionContext context)
Overrides:
getStartPresentation in class ExpressionModelPresentation

getEndPresentation

public org.eclipse.emf.mwe.core.debug.model.SyntaxElement getEndPresentation(ISyntaxElement element,
                                                                             ExecutionContext context)
Overrides:
getEndPresentation in class ExpressionModelPresentation

getContainerName

protected java.lang.String getContainerName(ISyntaxElement se)
Overrides:
getContainerName in class ExpressionModelPresentation

getStartingEndPosition

public int getStartingEndPosition(ISyntaxElement stmt)
Overrides:
getStartingEndPosition in class ExpressionModelPresentation