Package com.iizigo.editor
Class ContextMenuActionAdapter
- java.lang.Object
- com.iizigo.editor.ContextMenuActionAdapter
- All Implemented Interfaces:
IContextMenuAction
public abstract class ContextMenuActionAdapter extends java.lang.Object implements IContextMenuAction
The adapter for the IContextMenuAction interface.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description ContextMenuActionAdapter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled(DesignerProp target)
Checks if the item is enabled.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.iizigo.editor.IContextMenuAction
run
Method Detail
isEnabled
public boolean isEnabled(DesignerProp target)
Checks if the item is enabled. The default is always enabled.- Specified by:
isEnabled
in interfaceIContextMenuAction
- Parameters:
target
- The target property.- Returns:
- true always.