public class MoveRowUpAction extends AbstractMoveRowAction
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_ID
The ID of this action.
|
static String |
DEFAULT_KEYBINDING
The default key binding of this action.
|
Constructor and Description |
---|
MoveRowUpAction(TableRendererViewerActionContext actionContext)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Verify that this action can be executed given the current action context.
|
void |
execute()
Execute the action.
|
String |
getId()
Return the ID for this action.
|
getContainments, sortSelectionBasedOnIndex
getActionContext, getVTableControl, isTableDisabled
getEditingDomainForContainment, getNumberOfVisibleRows, getTableViewer, isLowerBoundReached, isOrdered, isUpperBoundReached, isViewerSelectionInvalid
public static final String ACTION_ID
public static final String DEFAULT_KEYBINDING
public MoveRowUpAction(TableRendererViewerActionContext actionContext)
actionContext
- the ViewerActionContext
public String getId()
Action
public void execute()
Action
public boolean canExecute()
Action
canExecute
in interface Action
canExecute
in class AbstractMoveRowAction
Copyright © 2019. All rights reserved.