public interface ProjectHandle extends FileHandle
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_MODEL_REGISTRY_NAME |
static java.lang.String |
DEFAULT_MODEL_REGISTRY_NAME2 |
static java.lang.String |
DEFAULT_MODEL_REGISTRY_PATH |
static java.lang.String |
DEFAULT_MODEL_REGISTRY_PATH2 |
Modifier and Type | Method and Description |
---|---|
FileHandle |
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.
|
java.lang.String |
getRegistryName()
Get the name of the registry model with respect to the project.
|
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.
|
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.
|
exists, getAbsoluteName, getContents, getName, getParentFileHandle, getProjectHandle, getProjectRelativeName, getURI, isFile, isFolder, isProject
static final java.lang.String DEFAULT_MODEL_REGISTRY_NAME
static final java.lang.String DEFAULT_MODEL_REGISTRY_NAME2
static final java.lang.String DEFAULT_MODEL_REGISTRY_PATH
static final java.lang.String DEFAULT_MODEL_REGISTRY_PATH2
FileHandle getFileHandle(java.lang.String name) throws java.io.IOException
name
- java.io.IOException
org.eclipse.emf.common.util.URI getRegistryURI()
java.util.List<org.eclipse.emf.common.util.URI> getRegistryURIs()
java.lang.String getRegistryName()
void refreshRegistry()
void setRegistryName(java.lang.String name)
name
- registry name