vitruv-tools / Vitruv

View-based Development and Model Consistency Framework
http://vitruv.tools
Eclipse Public License 1.0
14 stars 19 forks source link

Save Correspondence Model Delta-Based #590

Open h4uges opened 1 year ago

h4uges commented 1 year ago

585 delta-based peristence of the models contained in the ResourceRepositoryImpl was introduced. As next step also the PersistableCorrespondenceModel should be persisted delta-based.

Tasks/Hints:

[1]

private static ResourceSet createDeltaBasedResourceSet() {
    ResourceSet resourceSet = withGlobalFactories(new ResourceSetImpl());
    resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put("*", new DeltaBasedResourceFactory());
    return resourceSet;
}