public class EditActionsContributor extends java.lang.Object implements ActionContributor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EDIT_GROUP |
static java.lang.String |
EDIT_MENU_ID |
Constructor and Description |
---|
EditActionsContributor() |
Modifier and Type | Method and Description |
---|---|
void |
addKeyStrokes(javax.swing.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 java.lang.String EDIT_MENU_ID
public static final java.lang.String EDIT_GROUP
public void contributeTo(ActionRegistry actionRegistry)
ActionContributor
contributeTo
in interface ActionContributor
protected void setCutEnabled(boolean enabled)
protected void setCopyEnabled(boolean enabled)
protected void setPasteEnabled(boolean enabled)
protected void setDeleteEnabled(boolean enabled)
public void addKeyStrokes(javax.swing.JComponent component)
ActionContributor
addKeyStrokes
in interface ActionContributor