Interface MenuFactory


public interface MenuFactory
A factory for various menus and menu items.
  • Method Details

    • createLayoutToModelMenuItem

      LayoutToModelMenuItem createLayoutToModelMenuItem​(boolean copyAll)
      Creates a menu item for copying the value of the layout properties of selected elements to the corresponding model properties.
      Parameters:
      copyAll - Indicates whether the values of ALL points and locations shall be copied when the menu item is clicked. If false only the selected figures will be considered.
      Returns:
      The created menu item.
    • createModelToLayoutMenuItem

      ModelToLayoutMenuItem createModelToLayoutMenuItem​(boolean copyAll)
      Parameters:
      copyAll - Indicates whether the values of ALL points and locations shall be copied when the menu item is clicked. If false only the selected figures will be considered.
      Returns:
      The created menu item.