|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The project manager is the main access point for code model projects. It also keeps track of open documents and their paths.
| Method Summary | |
org.eclipse.jface.text.IDocument |
getDocumentForPath(org.eclipse.core.runtime.IPath path)
Returns the open document for this path. |
IProject |
getLastProject()
Retrieve the last project retrieved with a getProjectForXXX call. |
org.eclipse.core.runtime.IPath |
getPathForDocument(org.eclipse.jface.text.IDocument doc)
Returns path for this open document. |
IProject |
getProjectFor(org.eclipse.core.resources.IProject eclipseProject)
Returns the code model project for a particular Eclipse project. |
IProject |
getProjectFor(IProjectSpecification projectSpec)
Returns the code model project for a particular project specification. |
IProject |
getProjectForDocument(org.eclipse.jface.text.IDocument doc)
Returns the Code Model project containing the specified open document. |
IProject |
getProjectForFile(org.eclipse.core.runtime.IPath filePath)
Returns the Code Model project for the project that contains the specified file. |
| Method Detail |
public IProject getProjectFor(org.eclipse.core.resources.IProject eclipseProject)
eclipseProject - the Eclipse project
public IProject getProjectFor(IProjectSpecification projectSpec)
projectSpec - the project specification
public IProject getProjectForDocument(org.eclipse.jface.text.IDocument doc)
doc - the document
public IProject getProjectForFile(org.eclipse.core.runtime.IPath filePath)
filePath - The path to the file.
public IProject getLastProject()
public org.eclipse.core.runtime.IPath getPathForDocument(org.eclipse.jface.text.IDocument doc)
doc - open document
public org.eclipse.jface.text.IDocument getDocumentForPath(org.eclipse.core.runtime.IPath path)
path - path
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||