org.eclipse.internal.xtend.expression.debug
Class ExpressionModelPresentation

java.lang.Object
  extended by org.eclipse.internal.xtend.expression.debug.ExpressionModelPresentation
Direct Known Subclasses:
XpandModelPresentation

public class ExpressionModelPresentation
extends java.lang.Object

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

Author:
Clemens Kadura (zAJKa)

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

Field Detail

specials

protected java.util.Set<BaseSpecialTreatment> specials
Constructor Detail

ExpressionModelPresentation

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

getStartPresentation

public org.eclipse.emf.mwe.core.debug.model.SyntaxElement getStartPresentation(ISyntaxElement se,
                                                                               ExecutionContext context)

getEndPresentation

public org.eclipse.emf.mwe.core.debug.model.SyntaxElement getEndPresentation(ISyntaxElement se,
                                                                             ExecutionContext context)

getVariableSimpleRep

public java.lang.String getVariableSimpleRep(java.lang.Object element,
                                             ExecutionContext context)

getStart

public int getStart(ISyntaxElement se)

getStartingEndPosition

public int getStartingEndPosition(ISyntaxElement se)

getContainerName

protected java.lang.String getContainerName(ISyntaxElement se)

getTemplateName

protected java.lang.String getTemplateName(ISyntaxElement se)

getResource

protected java.lang.String getResource(ISyntaxElement se)

getStringRep

public java.lang.String getStringRep(java.lang.Object element)