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

java.lang.Object
  extended by org.eclipse.internal.xtend.expression.debug.BaseSpecialTreatment
Direct Known Subclasses:
ExpandSpecial, ForEachSpecial, IfSpecial, NoResourceSpecial

public abstract class BaseSpecialTreatment
extends java.lang.Object

Base class for all special treatments for element adapters.

Author:
Clemens Kadura (zAJKa)

Constructor Summary
BaseSpecialTreatment()
           
 
Method Summary
 java.lang.String adaptElementName(ISyntaxElement se, ExecutionContext context)
          add syntax element specific content to the element name that will be shown in Launch view
 void adaptSyntaxElement(org.eclipse.emf.mwe.core.debug.model.SyntaxElement to, java.lang.Object element)
           
 int getElementNameLength(ISyntaxElement se)
           
 ISyntaxElement getSpecialEndSyntaxElement(ISyntaxElement se)
           
 boolean shallNotSuspend(java.lang.Object element, int flag, ExecutionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSpecialTreatment

public BaseSpecialTreatment()
Method Detail

shallNotSuspend

public boolean shallNotSuspend(java.lang.Object element,
                               int flag,
                               ExecutionContext context)

adaptSyntaxElement

public void adaptSyntaxElement(org.eclipse.emf.mwe.core.debug.model.SyntaxElement to,
                               java.lang.Object element)

adaptElementName

public java.lang.String adaptElementName(ISyntaxElement se,
                                         ExecutionContext context)
add syntax element specific content to the element name that will be shown in Launch view

Parameters:
se - the syntax element
context - the execution context
Returns:
the special text to add to the name

getSpecialEndSyntaxElement

public ISyntaxElement getSpecialEndSyntaxElement(ISyntaxElement se)

getElementNameLength

public int getElementNameLength(ISyntaxElement se)