|
||||||||||
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.internal.XtendXpandProject
public class XtendXpandProject
Constructor Summary | |
---|---|
XtendXpandProject(org.eclipse.jdt.core.IJavaProject resource)
|
Method Summary | |
---|---|
void |
analyze(org.eclipse.core.runtime.IProgressMonitor monitor,
ExecutionContext ctx)
Analyzes the project's resources and marks erraneous resources. |
protected boolean |
containsRemovedClassPathEntry(org.eclipse.jdt.core.IJavaElementDelta[] affectedChildren)
|
IXtendXpandResource |
findExtXptResource(java.lang.String fqn,
java.lang.String extension)
Finds an Xtend resource by its fully qualified name and file extension. |
IXtendXpandResource |
findXtendXpandResource(org.eclipse.core.resources.IStorage file)
Finds an Xtend resource by it's underlying IStorage instance |
java.lang.Object |
getAdapter(java.lang.Class adapter)
Returns an object which is an instance of the given class associated with this object. |
IXtendXpandProject[] |
getAllReferencedProjects()
|
IXtendXpandResource[] |
getAllRegisteredResources()
|
org.eclipse.jdt.core.IJavaProject |
getProject()
Returns the corresponding Java Project . |
IXtendXpandProject[] |
getReferencedProjects()
|
IXtendXpandResource[] |
getRegisteredResources()
Returns all registered resources within the project. |
protected void |
removeResourcesFromJar()
|
java.lang.String |
toString()
Returns the name of the underlying project. |
void |
unregisterXtendXpandResource(IXtendXpandResource res)
Unregisters a resource from the project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XtendXpandProject(org.eclipse.jdt.core.IJavaProject resource)
Method Detail |
---|
protected boolean containsRemovedClassPathEntry(org.eclipse.jdt.core.IJavaElementDelta[] affectedChildren)
protected void removeResourcesFromJar()
public IXtendXpandResource[] getRegisteredResources()
IXtendXpandProject
getRegisteredResources
in interface IXtendXpandProject
IXtendXpandProject.getRegisteredResources()
public IXtendXpandResource[] getAllRegisteredResources()
getAllRegisteredResources
in interface IXtendXpandProject
IXtendXpandProject.getAllRegisteredResources()
public IXtendXpandProject[] getReferencedProjects()
getReferencedProjects
in interface IXtendXpandProject
IXtendXpandProject.getReferencedProjects()
public IXtendXpandProject[] getAllReferencedProjects()
getAllReferencedProjects
in interface IXtendXpandProject
IXtendXpandProject.getAllReferencedProjects()
public org.eclipse.jdt.core.IJavaProject getProject()
IXtendXpandProject
Java Project
.
getProject
in interface IXtendXpandProject
public void unregisterXtendXpandResource(IXtendXpandResource res)
IXtendXpandProject
unregisterXtendXpandResource
in interface IXtendXpandProject
res
- Resource which should be unregistered.IXtendXpandProject.unregisterXtendXpandResource(IXtendXpandResource)
public IXtendXpandResource findExtXptResource(java.lang.String fqn, java.lang.String extension)
IXtendXpandProject
findExtXptResource
in interface IXtendXpandProject
fqn
- The full qualified name in Xtend syntax. For example:
my::templates::Main
IXtendXpandProject.findExtXptResource(String, String)
public IXtendXpandResource findXtendXpandResource(org.eclipse.core.resources.IStorage file)
IXtendXpandProject
findXtendXpandResource
in interface IXtendXpandProject
IXtendXpandProject#findExtXptResource(IPath, boolean)
public void analyze(org.eclipse.core.runtime.IProgressMonitor monitor, ExecutionContext ctx)
IXtendXpandProject
analyze
in interface IXtendXpandProject
monitor
- (optional) A monitor for the progress of the analysis.IXtendXpandProject#analyze(IProgressMonitor)
public java.lang.String toString()
toString
in class java.lang.Object
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |