public class EclipseProjectHandle extends EclipseFileHandle implements ProjectHandle
projectHandle, resourceDEFAULT_MODEL_REGISTRY_NAME, DEFAULT_MODEL_REGISTRY_NAME2, DEFAULT_MODEL_REGISTRY_PATH, DEFAULT_MODEL_REGISTRY_PATH2| Constructor and Description |
|---|
EclipseProjectHandle(org.eclipse.core.resources.IProject project) |
| Modifier and Type | Method and Description |
|---|---|
EclipseFileHandle |
getFileHandle(org.eclipse.core.resources.IResource resource) |
EclipseFileHandle |
getFileHandle(java.lang.String name)
Return the FileHandle for the model located at name relative to the project,
if the name does not start with a /, or with respect to the root if it does.
|
org.eclipse.core.resources.IProject |
getProjectResource() |
java.lang.String |
getRegistryName()
Get the name of the registry model with respect to the project.
|
java.util.List<java.lang.String> |
getRegistryNames() |
org.eclipse.core.resources.IFile |
getRegistryResource() |
org.eclipse.emf.common.util.URI |
getRegistryURI()
Get the preferred URI of the registry model.
|
java.util.List<org.eclipse.emf.common.util.URI> |
getRegistryURIs()
Get all possible URIs of the registry model.
|
org.eclipse.emf.common.util.URI |
getURI()
Get the URI of the file.
|
void |
refreshRegistry()
Respond to a notification that the registry has changed.
|
void |
setRegistryName(java.lang.String name)
Define the name of the registry model with respect to the project.
|
void |
setRegistryNames(java.util.List<java.lang.String> names) |
exists, getAbsoluteName, getContents, getName, getParentFileHandle, getProjectHandle, getProjectRelativeName, getProjectRelativePath, getResource, isFile, isFolder, isProject, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexists, getAbsoluteName, getContents, getName, getParentFileHandle, getProjectHandle, getProjectRelativeName, isFile, isFolder, isProjectpublic EclipseProjectHandle(org.eclipse.core.resources.IProject project)
public EclipseFileHandle getFileHandle(java.lang.String name)
ProjectHandlegetFileHandle in interface ProjectHandlepublic EclipseFileHandle getFileHandle(org.eclipse.core.resources.IResource resource)
public org.eclipse.core.resources.IProject getProjectResource()
public org.eclipse.core.resources.IFile getRegistryResource()
public org.eclipse.emf.common.util.URI getRegistryURI()
ProjectHandlegetRegistryURI in interface ProjectHandlepublic java.util.List<org.eclipse.emf.common.util.URI> getRegistryURIs()
ProjectHandlegetRegistryURIs in interface ProjectHandlepublic java.lang.String getRegistryName()
ProjectHandlegetRegistryName in interface ProjectHandlepublic java.util.List<java.lang.String> getRegistryNames()
public org.eclipse.emf.common.util.URI getURI()
FileHandlegetURI in interface FileHandlegetURI in class EclipseFileHandlepublic void refreshRegistry()
ProjectHandlerefreshRegistry in interface ProjectHandlepublic void setRegistryName(java.lang.String name)
ProjectHandlesetRegistryName in interface ProjectHandlename - registry namepublic void setRegistryNames(java.util.List<java.lang.String> names)