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, whencreateMenu
in the Editor part is called.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendMenuItems(COMPONENT component, IzMenu menu, DesignerProp target)
Called to append menu items.DesignerProp
getTarget()
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 Detail
prependMenuItems
void prependMenuItems(COMPONENT component, IzMenu menu, DesignerProp target)
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
void appendMenuItems(COMPONENT component, IzMenu menu, DesignerProp target)
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.