public interface IPropertyEditorCustomMenu
Modifier and Type | Method and Description |
---|---|
void |
initializeMenu(PropertyEditor editor,
PropCnr[] editProps,
FlatToolbarButton button)
Called to initialize the menu with the menu items required created for the button.
|
void |
onPressed(PropertyEditor editor,
PropCnr[] editProps)
Called when a menu is not created for the button, and the button has been pressed.
|
boolean |
shouldCreate(PropertyEditor editor,
PropCnr[] editProps)
Called to check if the button with its drop-down menu should be created or not.
|
boolean shouldCreate(PropertyEditor editor, PropCnr[] editProps)
editor
- The property editor instance.editProps
- The property containers being edited.void initializeMenu(PropertyEditor editor, PropCnr[] editProps, FlatToolbarButton button)
editor
- The property editor instance.editProps
- The property containers being edited.button
- The button that should own the menu.void onPressed(PropertyEditor editor, PropCnr[] editProps)
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.