public class DuplicateRowAction 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 |
---|
DuplicateRowAction(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.
|
getActionContext, getVTableControl, isTableDisabled
getEditingDomainForContainment, getNumberOfVisibleRows, getTableViewer, isLowerBoundReached, isOrdered, isUpperBoundReached, isViewerSelectionInvalid
public static final String ACTION_ID
public static final String DEFAULT_KEYBINDING
public DuplicateRowAction(TableRendererViewerActionContext actionContext)
actionContext
- the ViewerActionContext
public String getId()
Action
public void execute()
Action
public boolean canExecute()
Action
Copyright © 2019. All rights reserved.