java.lang.Objectorg.eclipse.gmt.umlx.registry.environment.ModelRegistryEnvironment
public abstract class ModelRegistryEnvironment
The ModelRegistryEnvironment defines the singleton facilities of the Model Registry and their initialisation. Derived StandaloneModelRegistryEnvironment and EclipseModelRegistryEnvironment define environments that are initialised programmatically or by plug-in extensions.
Field Summary | |
---|---|
static java.lang.String |
PLUGIN_ID
|
Method Summary | |
---|---|
AccessorKindRegistry |
getAccessorKindRegistry()
|
java.io.File |
getFile(org.eclipse.emf.common.util.URI uri)
Return a File to access the URI, or null if the URI cannot be resolved to a file protocol. |
static ModelRegistryEnvironment |
getInstance()
|
ModelContentRegistry |
getModelContentRegistry()
|
ModelSerializationRegistry |
getModelSerializationRegistry()
|
static void |
logError(java.lang.String string,
java.lang.Throwable e)
|
abstract void |
logTheError(java.lang.String string,
java.lang.Throwable e)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PLUGIN_ID
Method Detail |
---|
public static ModelRegistryEnvironment getInstance()
public static void logError(java.lang.String string, java.lang.Throwable e)
public AccessorKindRegistry getAccessorKindRegistry()
public java.io.File getFile(org.eclipse.emf.common.util.URI uri) throws java.net.URISyntaxException, java.io.IOException
java.net.URISyntaxException
- if the URI syntax is bad
java.io.IOException
- if URL resolution failspublic ModelContentRegistry getModelContentRegistry()
public ModelSerializationRegistry getModelSerializationRegistry()
public abstract void logTheError(java.lang.String string, java.lang.Throwable e)