public abstract class RemoveRowAction extends TableRendererAction
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 |
---|
RemoveRowAction(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.
|
abstract void |
removeRowLegacy(List<org.eclipse.emf.ecore.EObject> deletionList,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
Delegate method to legacy addRow() implementation.
|
getActionContext, getVTableControl, isTableDisabled
getEditingDomainForContainment, getNumberOfVisibleRows, getTableViewer, isLowerBoundReached, isOrdered, isUpperBoundReached, isViewerSelectionInvalid
public static final String ACTION_ID
public static final String DEFAULT_KEYBINDING
public RemoveRowAction(TableRendererViewerActionContext actionContext)
actionContext
- the ViewerActionContext
public String getId()
Action
public void execute()
Action
public boolean canExecute()
Action
public abstract void removeRowLegacy(List<org.eclipse.emf.ecore.EObject> deletionList, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
deletionList
- the elements to deleteeObject
- the EObject
eStructuralFeature
- the EStructuralFeature
Copyright © 2019. All rights reserved.