public class EditActionsContributor extends Object implements ActionContributor
| Modifier and Type | Field and Description |
|---|---|
static String |
EDIT_GROUP |
static String |
EDIT_MENU_ID |
| Constructor and Description |
|---|
EditActionsContributor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyStrokes(JComponent component)
Add the accelerator keys to the given component if applicable.
|
void |
contributeTo(ActionRegistry actionRegistry)
Contribute actions using the given registry.
|
protected void |
setCopyEnabled(boolean enabled) |
protected void |
setCutEnabled(boolean enabled) |
protected void |
setDeleteEnabled(boolean enabled) |
protected void |
setPasteEnabled(boolean enabled) |
public static final String EDIT_MENU_ID
public static final String EDIT_GROUP
public void contributeTo(ActionRegistry actionRegistry)
ActionContributorcontributeTo in interface ActionContributorprotected void setCutEnabled(boolean enabled)
protected void setCopyEnabled(boolean enabled)
protected void setPasteEnabled(boolean enabled)
protected void setDeleteEnabled(boolean enabled)
public void addKeyStrokes(JComponent component)
ActionContributoraddKeyStrokes in interface ActionContributorCopyright © 2023. All rights reserved.