Class LanguageBodyEditorManager

java.lang.Object
com.nomagic.magicdraw.ui.languagebody.LanguageBodyEditorManager

@OpenApi public final class LanguageBodyEditorManager extends Object
Registers custom language body editor factories.
See Also:
  • Method Details

    • getInstance

      @OpenApi public static LanguageBodyEditorManager getInstance()
      Get manager instance.
      Returns:
      instance.
    • addFactory

      @OpenApi public void addFactory(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(String language)
      Removes body editor factory for given language.
      Parameters:
      language - language editor factory to remove.