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.
-
-
Field Summary
Fields Modifier and Type Field Description private static EmfUml2PersistenceManager
mInstance
-
Constructor Summary
Constructors Modifier Constructor Description private
EmfUml2PersistenceManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
getInstance()
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.
-
-
-
Field Detail
-
mInstance
private static EmfUml2PersistenceManager mInstance
-
-
Method Detail
-
getInstance
public static EmfUml2PersistenceManager getInstance()
Get singleton instance of the manager.
-
addSaveOptionsProvider
public void addSaveOptionsProvider(PersistenceOptionsProvider saveOptionsProvider)
Sets save options provider.- Overrides:
addSaveOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
removeSaveOptionsProvider
public void removeSaveOptionsProvider(PersistenceOptionsProvider saveOptionsProvider)
Remove save options provider.- Overrides:
removeSaveOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
addLoadOptionsProvider
public void addLoadOptionsProvider(PersistenceOptionsProvider loadOptionsProvider)
Sets load options provider.- Overrides:
addLoadOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
removeLoadOptionsProvider
public void removeLoadOptionsProvider(PersistenceOptionsProvider loadOptionsProvider)
Remove load options provider.- Overrides:
removeLoadOptionsProvider
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
-
addResourceSetInitializer
public void addResourceSetInitializer(ResourceSetInitializer initializer)
Register resource set initializer.- Overrides:
addResourceSetInitializer
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
- Parameters:
initializer
- resource set initializer to add.
-
removeResourceSetInitializer
public void removeResourceSetInitializer(ResourceSetInitializer initializer)
Remove resource set initializer.- Overrides:
removeResourceSetInitializer
in classcom.nomagic.magicdraw.emfuml2xmi.v5.helpers.EmfUml2PersistenceManagerImpl
- Parameters:
initializer
- resource set initializer to remove.
-
-