Class MenuCreatorFactory

java.lang.Object
com.nomagic.magicdraw.actions.MenuCreatorFactory

@OpenApiAll public class MenuCreatorFactory extends Object
This factory returns the best instance of ActionMenuCreator to use in MagicDraw application. Common ActionMenuCreator does not know how to create menus for MagicDraw specific actions. Use this factory to get instance of menu creator that knows about all action types uses in MagicDraw application.
  • Constructor Details

    • MenuCreatorFactory

      public MenuCreatorFactory()
  • Method Details

    • getMenuCreator

      public static ActionsMenuCreator getMenuCreator()
      Returns instance of most suitable menu creator for MagicDraw application.
      Returns:
      an instance of menu creator.