@OVLInaccessible public interface ContextMenuEntryProvider
By implementing this interface, a plug-in can add own menu entries to the context menu of graphical items.
THIS INTERFACE IS IN CURRENT DEVELOPMENT AND THUS STILL SUBJECT TO BE CHANGED!
- Since:
- Omix 1.7.0
- Author:
- Dr. Peter Droste
-
Method Summary
Modifier and Type Method Description default void
addItemContextMenuEntries(Object object, Field field, QMenu menu)
This method is called whenever the user causes a context menu to be shown on a VoD branch.default void
addItemContextMenuEntries(DataAnnotation accessory, QMenu menu)
This method is called whenever the user causes a context menu to be shown on an accessory.void
addItemContextMenuEntries(AbstractItem item, QMenu menu)
This method is called whenever the user causes a context menu to be shown.default void
addItemContextMenuEntries(DataAnnotationItem accessory, QMenu menu)
void
addItemContextMenuEntries(AbstractModelComponent item, QMenu menu)
-
Method Details
-
addItemContextMenuEntries
This method is called whenever the user causes a context menu to be shown. Add actions to the menu and handle user interaction by connecting to the slotQAction.triggered
combined with the item parameter.- Parameters:
item
- the item on which the context menu is shown
-
addItemContextMenuEntries
-
addItemContextMenuEntries
This method is called whenever the user causes a context menu to be shown on an accessory. Add actions to the menu and handle user interaction by connecting to the slotQAction.triggered
combined with the item parameter.- Parameters:
accessory
- the accessory on which the context menu is shown- Since:
- Omix 1.9.0
-
addItemContextMenuEntries
-
addItemContextMenuEntries
This method is called whenever the user causes a context menu to be shown on a VoD branch. Add actions to the menu and handle user interaction by connecting to the slotQAction.triggered
combined with the item parameter.- Parameters:
object
- the object owning the fieldfield
- the field for which the context menu is shown on the VoD branch- Since:
- Omix 2.0.0
-