Class LanguageBodyEditorManager
java.lang.Object
com.nomagic.magicdraw.ui.languagebody.LanguageBodyEditorManager
Registers custom language body editor factories.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFactory
(String language, LanguageBodyEditorFactory factory) Adds body editor factory for given language.static LanguageBodyEditorManager
Get manager instance.void
removeFactory
(String language) Removes body editor factory for given language.
-
Method Details
-
getInstance
Get manager instance.- Returns:
- instance.
-
addFactory
Adds body editor factory for given language.- Parameters:
language
- language body to edit.factory
- body editor factory to register.
-
removeFactory
Removes body editor factory for given language.- Parameters:
language
- language editor factory to remove.
-