Package com.iizigo.editor
Interface IContextMenuAction
- All Known Implementing Classes:
ContextMenuActionAdapter
public interface IContextMenuAction
Interface used to call the Add Item executor.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionboolean
isEnabled
(DesignerProp target) Checks if the item is enabled.void
run
(DesignerProp target, IPropUndoRedo undoRedo) Called to perform the action.
Method Details
run
Called to perform the action.- Parameters:
target
- The target property.undoRedo
- The undo-redo instance.
isEnabled
Checks if the item is enabled. The default is always enabled.- Parameters:
target
- The target property.