Package com.nomagic.magicdraw.actions
Class MenuCreatorFactory
java.lang.Object
com.nomagic.magicdraw.actions.MenuCreatorFactory
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActionsMenuCreator
Returns instance of most suitable menu creator for MagicDraw application.
-
Constructor Details
-
MenuCreatorFactory
public MenuCreatorFactory()
-
-
Method Details
-
getMenuCreator
Returns instance of most suitable menu creator for MagicDraw application.- Returns:
- an instance of menu creator.
-