Package com.iizigo.editor
Interface IContextMenuContributorFormControl<COMPONENT>
- All Known Subinterfaces:
IContextMenuContributor
- All Known Implementing Classes:
ActionsPanel
,ContextMenuContributorAdapter
,TablePanel
,ValuePanel
public interface IContextMenuContributorFormControl<COMPONENT>
Contributes to the menu for Editor parts, when
createMenu
in the Editor part is called.- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
appendMenuItems
(COMPONENT component, IzMenu menu, DesignerProp target) Called to append menu items.Gets the default target when none other is found for the pop-up menu in the viewer.void
prependMenuItems
(COMPONENT component, IzMenu menu, DesignerProp target) Called to prepend menu items.
Method Details
prependMenuItems
Called to prepend menu items.- Parameters:
component
- The component.menu
- The pop-up menu.target
- The selected target in the control, null for none.
appendMenuItems
Called to append menu items.- Parameters:
component
- The component.menu
- The pop-up menu.target
- The selected target in the viewer, null for none.
getTarget
DesignerProp getTarget()Gets the default target when none other is found for the pop-up menu in the viewer.- Returns:
- The target, or null to use the default edited property.