public abstract class AbstractMoveRowAction extends TableRendererAction
Constructor and Description |
---|
AbstractMoveRowAction(TableRendererViewerActionContext actionContext)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Verify that this action can be executed given the current action context.
|
protected List<?> |
getContainments()
Returns the list containing all objects of the table viewer.
|
static void |
sortSelectionBasedOnIndex(List<?> selection,
List<?> list)
Sorting helper for a table viewer selection.
|
getActionContext, getVTableControl, isTableDisabled
getEditingDomainForContainment, getNumberOfVisibleRows, getTableViewer, isLowerBoundReached, isOrdered, isUpperBoundReached, isViewerSelectionInvalid
public AbstractMoveRowAction(TableRendererViewerActionContext actionContext)
actionContext
- the ViewerActionContext
public static void sortSelectionBasedOnIndex(List<?> selection, List<?> list)
selection
- the selection to sortlist
- the index listpublic boolean canExecute()
Action
protected List<?> getContainments()
Copyright © 2019. All rights reserved.