public class XmlModel extends EmfModel implements IOperationContributorProvider
EmfModel.CachedContentsAdapter
Modifier and Type | Field and Description |
---|---|
protected MixedElementOperationContributor |
mixedElementOperationContributor |
static String |
PROPERTY_XSD_FILE |
protected String |
xsdFile |
fileBasedMetamodels, fileBasedMetamodelTimestamps, isMetamodelFileBased, metamodelFileUris, metamodelUris, modelUri, packages, PROPERTY_EXPAND, PROPERTY_FILE_BASED_METAMODEL_URI, PROPERTY_IS_METAMODEL_FILE_BASED, PROPERTY_METAMODEL_FILE, PROPERTY_METAMODEL_URI, PROPERTY_MODEL_FILE, PROPERTY_MODEL_URI, PROPERTY_REUSE_UNMODIFIED_FILE_BASED_METAMODELS, reuseUnmodifiedFileBasedMetamodels, useExtendedMetadata
expand, modelImpl, registry, transactionSupport
allContentsAreCached, allContentsCache, cachedKinds, cachedTypes, cachingEnabled, kindCache, PROPERTY_CACHED, typeCache
aliases, name, PROPERTY_ALIASES, PROPERTY_NAME, PROPERTY_READONLOAD, PROPERTY_STOREONDISPOSAL, readOnLoad, storeOnDisposal
Constructor and Description |
---|
XmlModel() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.resource.ResourceSet |
createResourceSet() |
protected void |
determinePackagesFrom(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
OperationContributor |
getOperationContributor() |
XmlPropertySetter |
getPropertySetter() |
void |
load(StringProperties properties,
IRelativePathResolver resolver)
Load the model using the set of properties specified by the first argument.
|
addToCache, forceAddToCache, forceRemoveFromCache, getEnumerationLabelOf, getEnumerationTypeOf, getMetamodel, getMetamodelFiles, getMetamodelFileUris, getMetamodelUris, getModelFile, getModelFileUri, getPropertiesOf, hasPackage, hasProperty, isEnumerationValue, isMetamodelFileBased, isReuseUnmodifiedFileBasedMetamodels, loadModel, loadModelFromUri, preventLoadingOfExternalModelElements, removeFromCache, setMetamodelFile, setMetamodelFileBased, setMetamodelFiles, setMetamodelFileUri, setMetamodelFileUris, setMetamodelUri, setMetamodelUris, setModelFile, setModelFileUri, setReuseUnmodifiedFileBasedMetamodels, setupContainmentChangeListeners, store, toString
addMetamodelUri, allContentsFromModel, classForName, classForName, classForName, createInstanceInModel, deleteElementInModel, disposeModel, getAllOfKindFromModel, getAllOfTypeFromModel, getAllTypeNamesOf, getCacheKeyForType, getContainerOf, getElementById, getElementId, getEnumerationValue, getFullyQualifiedName, getFullyQualifiedTypeNameOf, getInputStream, getModelImpl, getPackageRegistry, getPropertyGetter, getResource, getResources, getTransactionSupport, getTypeNameOf, getTypeOf, hasType, instancesCount, isExpand, isInstantiable, isModelElement, isOfKind, isOfType, isPropertySet, knowsAboutProperty, knowsAboutProperty, owns, setDataTypesInstanceClasses, setElementId, setExpand, setModelImpl, setResource, store, store, store
allContents, clearCache, createInstance, deleteElement, dispose, getAllOfKind, getAllOfType, isCachingEnabled, load, setCachingEnabled
allInstances, createInstance, getAliases, getName, isReadOnLoad, isStoredOnDisposal, load, load, setName, setReadOnLoad, setStoredOnDisposal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContainerOf
allContents, createInstance, createInstance, deleteElement, dispose, getAliases, getAllOfKind, getAllOfType, getElementById, getElementId, getEnumerationValue, getFullyQualifiedTypeNameOf, getName, getPropertyGetter, getTransactionSupport, getTypeNameOf, getTypeOf, hasType, isInstantiable, isModelElement, isOfKind, isOfType, isPropertySet, isReadOnLoad, isStoredOnDisposal, knowsAboutProperty, load, load, load, owns, setElementId, setName, setReadOnLoad, setStoredOnDisposal, store
public static String PROPERTY_XSD_FILE
protected MixedElementOperationContributor mixedElementOperationContributor
protected String xsdFile
public void load(StringProperties properties, IRelativePathResolver resolver) throws EolModelLoadingException
EmfModel
load
in interface IModel
load
in class EmfModel
EolModelLoadingException
EmfModel.PROPERTY_MODEL_URI
,
EmfModel.PROPERTY_IS_METAMODEL_FILE_BASED
,
EmfModel.PROPERTY_EXPAND
,
Rationale for deprecating the FILE properties.protected void determinePackagesFrom(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) throws EolModelLoadingException
determinePackagesFrom
in class EmfModel
EolModelLoadingException
protected org.eclipse.emf.ecore.resource.ResourceSet createResourceSet()
createResourceSet
in class EmfModel
public XmlPropertySetter getPropertySetter()
getPropertySetter
in interface IModel
getPropertySetter
in interface IReflectiveModel
getPropertySetter
in class EmfModel
public OperationContributor getOperationContributor()
getOperationContributor
in interface IOperationContributorProvider
Copyright © 2018. All rights reserved.