Class EmfUml2PersistenceManager
java.lang.Object
com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManager
@OpenApiAll
public final class EmfUml2PersistenceManager
extends com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
Stores save and load options.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLoadOptionsProvider
(PersistenceOptionsProvider loadOptionsProvider) Sets load options provider.void
addResourceSetInitializer
(ResourceSetInitializer initializer) Register resource set initializer.void
addSaveOptionsProvider
(PersistenceOptionsProvider saveOptionsProvider) Sets save options provider.static EmfUml2PersistenceManager
Get singleton instance of the manager.void
removeLoadOptionsProvider
(PersistenceOptionsProvider loadOptionsProvider) Remove load options provider.void
removeResourceSetInitializer
(ResourceSetInitializer initializer) Remove resource set initializer.void
removeSaveOptionsProvider
(PersistenceOptionsProvider saveOptionsProvider) Remove save options provider.Methods inherited from class com.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
clean, getLoadOptionsProvider, getResourceSetInitializers, getSaveOptionsProvider
-
Method Details
-
getInstance
Get singleton instance of the manager. -
addSaveOptionsProvider
Sets save options provider.- Overrides:
addSaveOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
removeSaveOptionsProvider
Remove save options provider.- Overrides:
removeSaveOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
addLoadOptionsProvider
Sets load options provider.- Overrides:
addLoadOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
removeLoadOptionsProvider
Remove load options provider.- Overrides:
removeLoadOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
addResourceSetInitializer
Register resource set initializer.- Overrides:
addResourceSetInitializer
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
- Parameters:
initializer
- resource set initializer to add.
-
removeResourceSetInitializer
Remove resource set initializer.- Overrides:
removeResourceSetInitializer
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
- Parameters:
initializer
- resource set initializer to remove.
-