org.eclipse.xpand.ui.debug
Class XpandPluginAdapter

java.lang.Object
  extended by org.eclipse.xtend.ui.debug.ExpressionPluginAdapter
      extended by org.eclipse.xpand.ui.debug.XpandPluginAdapter
All Implemented Interfaces:
org.eclipse.emf.mwe.ui.debug.processing.PluginAdapter

public class XpandPluginAdapter
extends ExpressionPluginAdapter

The IPluginAdapter implementation for Xpand statements.

Author:
Clemens Kadura (zAJKa)

Field Summary
 
Fields inherited from class org.eclipse.xtend.ui.debug.ExpressionPluginAdapter
pres, specials
 
Constructor Summary
XpandPluginAdapter()
           
 
Method Summary
 boolean canHandleType(java.lang.String type)
           
protected  java.util.List<ISyntaxElement> collectFirstLevelElements(IXtendXpandResource res)
           
protected  java.util.List<ISyntaxElement> getBody(ISyntaxElement parent)
           
 java.lang.String getEditorId()
           
 org.eclipse.swt.graphics.Image getIcon()
           
protected  java.lang.String getRequiredExtension()
           
protected  boolean isValidReturnElement(ISyntaxElement element)
           
 
Methods inherited from class org.eclipse.xtend.ui.debug.ExpressionPluginAdapter
canHandleResourceExtension, checkBreakpoints, createBreakpoint, isToggleBpEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XpandPluginAdapter

public XpandPluginAdapter()
Method Detail

getRequiredExtension

protected java.lang.String getRequiredExtension()
Overrides:
getRequiredExtension in class ExpressionPluginAdapter

canHandleType

public boolean canHandleType(java.lang.String type)
Specified by:
canHandleType in interface org.eclipse.emf.mwe.ui.debug.processing.PluginAdapter
Overrides:
canHandleType in class ExpressionPluginAdapter

getEditorId

public java.lang.String getEditorId()
Specified by:
getEditorId in interface org.eclipse.emf.mwe.ui.debug.processing.PluginAdapter
Overrides:
getEditorId in class ExpressionPluginAdapter

collectFirstLevelElements

protected java.util.List<ISyntaxElement> collectFirstLevelElements(IXtendXpandResource res)
Overrides:
collectFirstLevelElements in class ExpressionPluginAdapter

getBody

protected java.util.List<ISyntaxElement> getBody(ISyntaxElement parent)
Overrides:
getBody in class ExpressionPluginAdapter

isValidReturnElement

protected boolean isValidReturnElement(ISyntaxElement element)
Overrides:
isValidReturnElement in class ExpressionPluginAdapter

getIcon

public org.eclipse.swt.graphics.Image getIcon()
Specified by:
getIcon in interface org.eclipse.emf.mwe.ui.debug.processing.PluginAdapter
Overrides:
getIcon in class ExpressionPluginAdapter