Class EmfUml2PersistenceHelper
java.lang.Object
com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2PersistenceHelper
com.nomagic.magicdraw.emfuml2xmi.v2.EmfUml2PersistenceHelper
@OpenApi
public final class EmfUml2PersistenceHelper
extends com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2PersistenceHelper
Stores save and load options.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addResourceSetInitializer
(ResourceSetInitializer initializer) Register resource set initializer.static void
clean
(Collection elements, ProgressStatus progress) Disposes given Eclipse UML2 elements.static PersistenceOptionsProvider
Returns load options provider.static PersistenceOptionsProvider
Returns save options providerstatic void
removeResourceSetInitializer
(ResourceSetInitializer initializer) Remove resource set initializer.static void
setLoadOptionsProvider
(PersistenceOptionsProvider loadOptionsProvider) Sets load options provider.static void
setSaveOptionsProvider
(PersistenceOptionsProvider saveOptionsProvider) Sets save options provider.Methods inherited from class com.nomagic.magicdraw.emfuml2xmi.helpers.BaseEmfUml2PersistenceHelper
getOptionsDir, registerPackage, removeIllegalCharacters
-
Method Details
-
getSaveOptionsProvider
Returns save options provider- Returns:
- persistence options provider
-
setSaveOptionsProvider
Sets save options provider. -
getLoadOptionsProvider
Returns load options provider.- Returns:
- persistence options provider
-
addResourceSetInitializer
Register resource set initializer.- Parameters:
initializer
- resource set initializer to add.
-
removeResourceSetInitializer
Remove resource set initializer.- Parameters:
initializer
- resource set initializer to remove.
-
setLoadOptionsProvider
Sets load options provider. -
clean
Disposes given Eclipse UML2 elements.- Parameters:
elements
- Eclipse UML2 elements.progress
- progress
-