Package org.eclipse.jface.viewers
Class ColumnViewerEditorActivationStrategy
java.lang.Object
org.eclipse.jface.viewers.ColumnViewerEditorActivationStrategy
This class is responsible to determine if a cell selection event is triggers
an editor activation. Implementors can extend and overwrite to implement
custom editing behavior
- Since:
- 3.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidsetEnableEditorActivationWithKeyboard(boolean enable) Enable activation of cell editors by keyboard
-
Constructor Details
-
ColumnViewerEditorActivationStrategy
- Parameters:
viewer- the viewer the editor support is attached to
-
-
Method Details
-
isEditorActivationEvent
- Parameters:
event- the event triggering the action- Returns:
trueif this event should open the editor
-
getViewer
- Returns:
- the viewer
-
setEnableEditorActivationWithKeyboard
public void setEnableEditorActivationWithKeyboard(boolean enable) Enable activation of cell editors by keyboard- Parameters:
enable-trueto enable
-