Package com.nomagic.magicdraw.actions
Class MenuCreatorFactory
- java.lang.Object
-
- com.nomagic.magicdraw.actions.MenuCreatorFactory
-
@OpenApiAll public class MenuCreatorFactory extends java.lang.Object
This factory returns the best instance ofActionMenuCreator
to use in MagicDraw application. CommonActionMenuCreator
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 Summary
Constructors Constructor Description MenuCreatorFactory()
-
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.
-
-
-
Method Detail
-
getMenuCreator
public static ActionsMenuCreator getMenuCreator()
Returns instance of most suitable menu creator for MagicDraw application.- Returns:
- an instance of menu creator.
-
-