|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jface.action.Action
com.groovemanager.app.sse.EditAction
An EditAction stands for a type of action that can be applied to a part of an audio source without need of interaction with the user. An EditAction can be of any of the pre-defined constants.
| Field Summary | |
|---|---|
static int |
COPY
Possible values for the edit type |
static int |
CUT
Possible values for the edit type |
static int |
DELETE
Possible values for the edit type |
(package private) SimpleSampleEditor |
editor
The SimpleSampleEditor to which this EditAction belongs |
static int |
NORMALIZE
Possible values for the edit type |
static int |
PASTE
Possible values for the edit type |
static int |
REDO
Possible values for the edit type |
static int |
TRIM
Possible values for the edit type |
(package private) int |
type
The type of this EditAction |
static int |
UNDO
Possible values for the edit type |
| Fields inherited from interface org.eclipse.jface.action.IAction |
|---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
EditAction(SimpleSampleEditor editor,
java.lang.String text,
org.eclipse.jface.resource.ImageDescriptor image,
int editType)
Create a new EditAction of the given type with the given name and image |
|
EditAction(SimpleSampleEditor editor,
java.lang.String text,
int editType)
Create a new EditAction of the given type with the given name |
|
EditAction(SimpleSampleEditor editor,
java.lang.String text,
int style,
int editType)
Create a new EditAction of the given type with the given name and style |
|
| Method Summary | |
|---|---|
static java.lang.String |
getName(int i)
Get a textual description of an edit type |
void |
run()
Tell the Sample Editor to perform this action |
| Methods inherited from class org.eclipse.jface.action.Action |
|---|
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removeAcceleratorText, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COPY
public static final int CUT
public static final int DELETE
SimpleSampleEditor editor
public static final int NORMALIZE
public static final int PASTE
public static final int REDO
public static final int TRIM
int type
public static final int UNDO
| Constructor Detail |
|---|
public EditAction(SimpleSampleEditor editor,
java.lang.String text,
org.eclipse.jface.resource.ImageDescriptor image,
int editType)
editor - The SampleEditor to which this action belongstext - The action´s nameimage - This action´s imageeditType - The edit type of the action
public EditAction(SimpleSampleEditor editor,
java.lang.String text,
int editType)
editor - The SampleEditor to which this action belongstext - The action´s nameeditType - The edit type of the action
public EditAction(SimpleSampleEditor editor,
java.lang.String text,
int style,
int editType)
editor - The SampleEditor to which this action belongstext - The action´s namestyle - This action´s styleeditType - The edit type of the action| Method Detail |
|---|
public static java.lang.String getName(int i)
i - The edit type to get the name for
public void run()
run in interface org.eclipse.jface.action.IActionrun in class org.eclipse.jface.action.ActionIAction.run()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||