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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isEnabled(DesignerProp target)
Checks if the item is enabled.void
run(DesignerProp target, IPropUndoRedo undoRedo)
Called to perform the action.
Method Detail
run
void run(DesignerProp target, IPropUndoRedo undoRedo)
Called to perform the action.- Parameters:
target
- The target property.undoRedo
- The undo-redo instance.
isEnabled
boolean isEnabled(DesignerProp target)
Checks if the item is enabled. The default is always enabled.- Parameters:
target
- The target property.