|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.shared.ui.core.AbstractResource
public abstract class AbstractResource
Constructor Summary | |
---|---|
protected |
AbstractResource(org.eclipse.core.resources.IStorage res)
|
Method Summary | |
---|---|
void |
analyze(ExecutionContext ctx)
analyzes the underlying AST and adds respective markers to the underlying IFile (getCorrspondingFile()) |
protected abstract void |
analyze(ExecutionContext ctx,
java.util.Set<AnalysationIssue> issues)
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
Returns an object which is an instance of the given class associated with this object. |
Resource |
getExtXptResource()
returns the root element of the AST |
java.lang.String |
getFullyQualifiedName()
|
java.lang.String[] |
getImportedExtensions()
|
java.lang.String[] |
getImportedNamespaces()
|
org.eclipse.core.resources.IStorage |
getUnderlyingStorage()
|
protected abstract boolean |
internalRefresh()
|
boolean |
refresh()
updates the underlying AST |
void |
setExtXptResource(Resource res)
|
void |
setFullyQualifiedName(java.lang.String fqn)
|
java.lang.String |
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 |
---|
getFileExtension |
Constructor Detail |
---|
protected AbstractResource(org.eclipse.core.resources.IStorage res)
Method Detail |
---|
public void setExtXptResource(Resource res)
public Resource getExtXptResource()
IXtendXpandResource
getExtXptResource
in interface IXtendXpandResource
public org.eclipse.core.resources.IStorage getUnderlyingStorage()
getUnderlyingStorage
in interface IXtendXpandResource
public java.lang.String getFullyQualifiedName()
getFullyQualifiedName
in interface Resource
public java.lang.String[] getImportedNamespaces()
getImportedNamespaces
in interface Resource
public void setFullyQualifiedName(java.lang.String fqn)
setFullyQualifiedName
in interface Resource
public java.lang.String[] getImportedExtensions()
getImportedExtensions
in interface Resource
public final void analyze(ExecutionContext ctx)
IXtendXpandResource
analyze
in interface IXtendXpandResource
protected abstract void analyze(ExecutionContext ctx, java.util.Set<AnalysationIssue> issues)
public final boolean refresh()
IXtendXpandResource
refresh
in interface IXtendXpandResource
protected abstract boolean internalRefresh()
public final java.lang.Object getAdapter(java.lang.Class adapter)
null
if no such object can be found.
This implementation of the method declared by IAdaptable
passes the request along to the platform's adapter manager; roughly
Platform.getAdapterManager().getAdapter(this, adapter)
.
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
adapter
- the class to adapt to
null
IAdaptable#getAdapter(Class)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |