org.eclipse.xpand.ui.core.internal
Class XpandResourceImpl

java.lang.Object
  extended by org.eclipse.xtend.shared.ui.core.AbstractResource
      extended by org.eclipse.xpand.ui.core.internal.XpandResourceImpl
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, XpandAnalyzable, XpandResource, IXpandResource, Resource, IXtendXpandResource

public class XpandResourceImpl
extends AbstractResource
implements IXpandResource


Constructor Summary
XpandResourceImpl(XpandResource tpl, org.eclipse.core.resources.IStorage source, XpandResourceParser parser)
           
 
Method Summary
 void analyze(ExecutionContext ctx, java.util.Set<AnalysationIssue> issues)
           
 void analyze(XpandExecutionContext ctx, java.util.Set<AnalysationIssue> issues)
           
 XpandAdvice[] getAdvices()
           
 XpandDefinition[] getDefinitions()
           
 XpandDefinition[] getDefinitionsByName(java.lang.String name)
           
 java.lang.String getFileExtension()
           
 boolean internalRefresh()
           
 
Methods inherited from class org.eclipse.xtend.shared.ui.core.AbstractResource
analyze, getAdapter, getExtXptResource, getFullyQualifiedName, getImportedExtensions, getImportedNamespaces, getUnderlyingStorage, refresh, setExtXptResource, setFullyQualifiedName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtend.shared.ui.core.IXtendXpandResource
analyze, getExtXptResource, getUnderlyingStorage, refresh
 
Methods inherited from interface org.eclipse.xtend.expression.Resource
getFullyQualifiedName, getImportedExtensions, getImportedNamespaces, setFullyQualifiedName
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

XpandResourceImpl

public XpandResourceImpl(XpandResource tpl,
                         org.eclipse.core.resources.IStorage source,
                         XpandResourceParser parser)
Method Detail

analyze

public void analyze(ExecutionContext ctx,
                    java.util.Set<AnalysationIssue> issues)
Specified by:
analyze in class AbstractResource

analyze

public void analyze(XpandExecutionContext ctx,
                    java.util.Set<AnalysationIssue> issues)
Specified by:
analyze in interface XpandAnalyzable

getDefinitions

public XpandDefinition[] getDefinitions()
Specified by:
getDefinitions in interface XpandResource

getDefinitionsByName

public XpandDefinition[] getDefinitionsByName(java.lang.String name)
Specified by:
getDefinitionsByName in interface XpandResource

getAdvices

public XpandAdvice[] getAdvices()
Specified by:
getAdvices in interface XpandResource

getFileExtension

public java.lang.String getFileExtension()
Specified by:
getFileExtension in interface IXtendXpandResource

internalRefresh

public boolean internalRefresh()
Specified by:
internalRefresh in class AbstractResource