public class EclipseModelRegistryEnvironment extends ModelRegistryEnvironment
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTENSION_POINT_NAMESPACE |
static java.lang.String |
MODEL_SERIALIZATION_PPID |
static java.lang.String |
NAMESPACE_PPID |
PLUGIN_ID| Constructor and Description |
|---|
EclipseModelRegistryEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
initializeModelSerializationRegistry(ModelSerializationRegistry modelSerializationRegistry)
Install any required content in the ModelSerializationRegistry.
|
protected void |
initializeNamespaceRegistry(NamespaceRegistry namespaceRegistry)
Install any required content in the NamespaceRegistry.
|
void |
logException(java.lang.Throwable e,
boolean showErrorDialog) |
void |
logTheError(java.lang.String string,
java.lang.Throwable e) |
org.eclipse.core.runtime.CoreException |
newError(java.lang.String text,
java.lang.Throwable exception)
Return a CoreException with Error severity containing a text description and optionally
wrapping a further exception.
|
createModelSerializationRegistry, createNamespaceRegistry, getInstance, getModelSerializationRegistry, getNamespaceRegistry, logErrorpublic static final java.lang.String EXTENSION_POINT_NAMESPACE
public static final java.lang.String NAMESPACE_PPID
public static final java.lang.String MODEL_SERIALIZATION_PPID
public java.io.File getFile(org.eclipse.emf.common.util.URI uri)
throws java.net.URISyntaxException,
java.io.IOException
getFile in class ModelRegistryEnvironmentjava.net.URISyntaxException - if the URI syntax is badjava.io.IOException - if URL resolution failsprotected void initializeNamespaceRegistry(NamespaceRegistry namespaceRegistry)
ModelRegistryEnvironmentinitializeNamespaceRegistry in class ModelRegistryEnvironmentprotected void initializeModelSerializationRegistry(ModelSerializationRegistry modelSerializationRegistry)
ModelRegistryEnvironmentinitializeModelSerializationRegistry in class ModelRegistryEnvironmentpublic void logTheError(java.lang.String string,
java.lang.Throwable e)
logTheError in class ModelRegistryEnvironmentpublic void logException(java.lang.Throwable e,
boolean showErrorDialog)
public org.eclipse.core.runtime.CoreException newError(java.lang.String text,
java.lang.Throwable exception)
text - description of exceptionexception - optional wrapped exception