Interface MenuFactory
public interface MenuFactory
A factory for various menus and menu items.
-
Method Summary
Modifier and Type Method Description LayoutToModelMenuItemcreateLayoutToModelMenuItem(boolean copyAll)Creates a menu item for copying the value of the layout properties of selected elements to the corresponding model properties.ModelToLayoutMenuItemcreateModelToLayoutMenuItem(boolean copyAll)
-
Method Details
-
createLayoutToModelMenuItem
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
- 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.
-