Package com.iizigo.editor
Interface IContextMenuContributor
- All Superinterfaces:
- IContextMenuContributorFormControl<Viewer>
- All Known Implementing Classes:
- ActionsPanel,- ContextMenuContributorAdapter,- GroupPanel,- TablePanel,- ValuePanel
Contributes to the menu for Editor parts, when 
registerViewer or createMenu in the Editor part is called.- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- appendMenuItems- (Viewer viewer, IzMenu menu, DesignerProp target) Called to append menu items.- boolean- doAddExpandCollapseAll- (Viewer viewer, IzMenu menu, DesignerProp target) Checks if expand/collapse all menu items should be added.Gets the default target when none other is found for the pop-up menu in the viewer.- void- prependMenuItems- (Viewer viewer, IzMenu menu, DesignerProp target) Called to prepend menu items.
- Method Details- prependMenuItemsCalled to prepend menu items.- Specified by:
- prependMenuItemsin interface- IContextMenuContributorFormControl<Viewer>
- Parameters:
- viewer- The viewer.
- menu- The pop-up menu.
- target- The selected target in the viewer, null for none.
 
- appendMenuItemsCalled to append menu items.- Specified by:
- appendMenuItemsin interface- IContextMenuContributorFormControl<Viewer>
- Parameters:
- viewer- The viewer.
- menu- The pop-up menu.
- target- The selected target in the viewer, null for none.
 
- doAddExpandCollapseAllChecks if expand/collapse all menu items should be added.
- getTargetDesignerProp getTarget()Gets the default target when none other is found for the pop-up menu in the viewer.- Specified by:
- getTargetin interface- IContextMenuContributorFormControl<Viewer>
- Returns:
- The target, or null to use the default edited property.