Class LanguageBodyEditorManager
- java.lang.Object
-
- com.nomagic.magicdraw.ui.languagebody.LanguageBodyEditorManager
-
@OpenApi public final class LanguageBodyEditorManager extends java.lang.Object
Registers custom language body editor factories.- See Also:
LanguageBodyEditorFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFactory(java.lang.String language, LanguageBodyEditorFactory factory)
Adds body editor factory for given language.static LanguageBodyEditorManager
getInstance()
Get manager instance.void
removeFactory(java.lang.String language)
Removes body editor factory for given language.
-
-
-
Method Detail
-
getInstance
@OpenApi public static LanguageBodyEditorManager getInstance()
Get manager instance.- Returns:
- instance.
-
addFactory
@OpenApi public void addFactory(java.lang.String language, LanguageBodyEditorFactory factory)
Adds body editor factory for given language.- Parameters:
language
- language body to edit.factory
- body editor factory to register.
-
removeFactory
@OpenApi public void removeFactory(java.lang.String language)
Removes body editor factory for given language.- Parameters:
language
- language editor factory to remove.
-
-