Interface IContextMenuAction

  • All Known Implementing Classes:
    ContextMenuActionAdapter

    public interface IContextMenuAction
    Interface used to call the Add Item executor.
    Author:
    Christopher Mindus
    • 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.