org.oddjob.arooa.design.actions
Class EditActionsContributor
java.lang.Object
org.oddjob.arooa.design.actions.EditActionsContributor
- All Implemented Interfaces:
- ActionContributor
- Direct Known Subclasses:
- DesignerEditActions, ExplorerEditActions
public class EditActionsContributor
- extends Object
- implements ActionContributor
Provides the cut/copy/paste and delete actions.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDIT_MENU_ID
public static final String EDIT_MENU_ID
- See Also:
- Constant Field Values
EDIT_GROUP
public static final String EDIT_GROUP
- See Also:
- Constant Field Values
EditActionsContributor
public EditActionsContributor()
contributeTo
public void contributeTo(ActionRegistry actionRegistry)
- Description copied from interface:
ActionContributor
- Contribute actions using the given registry.
- Specified by:
contributeTo
in interface ActionContributor
setCutEnabled
protected void setCutEnabled(boolean enabled)
setCopyEnabled
protected void setCopyEnabled(boolean enabled)
setPasteEnabled
protected void setPasteEnabled(boolean enabled)
setDeleteEnabled
protected void setDeleteEnabled(boolean enabled)
addKeyStrokes
public void addKeyStrokes(JComponent component)
- Description copied from interface:
ActionContributor
- Add the accelerator keys to the given component if applicable.
- Specified by:
addKeyStrokes
in interface ActionContributor