Initializer
init(resource:referenceModel:isTarget:)
Creates a new EcoreModel wrapping the given resource.
init(resource: Resource, referenceModel: IReferenceModel, isTarget: Bool = false)
Parameters
resource-
The Resource to wrap
referenceModel-
The metamodel for this model
isTarget-
Whether this model allows modifications