Class MenuCreatorFactory


  • @OpenApiAll
    public class MenuCreatorFactory
    extends java.lang.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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ActionsMenuCreator getMenuCreator()
      Returns instance of most suitable menu creator for MagicDraw application.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MenuCreatorFactory

        public MenuCreatorFactory()
    • Method Detail

      • getMenuCreator

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