* @see MOUSE_CLICK_ACTIVATION
*/
protected void startEditing(final TableViewer viewer, final int row, final int column,
final int editorActivationType) {
final SWTBotTable table = new SWTBotTable(viewer.getTable());
switch (editorActivationType) {
case UITestConstants.MOUSE_CLICK_ACTIVATION:
table.click(row, column);
break;
case UITestConstants.MOUSE_DOUBLE_CLICK_ACTIVATION:
table.doubleClick(row, column);
break;
case UITestConstants.F2_KEY_ACTIVATION:
table.click(row, column);
table.pressShortcut(getKey(SWT.F2));
break;
default:
throw new IllegalArgumentException("Can`t support the specified editor activation type.");
}
waitForCellEditorState(viewer, true);