|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent
This event is passed on when a cell-editor is going to be activated
Field Summary | |
---|---|
boolean |
cancel
Cancel the event (=> editor is not activated) |
char |
character
Only set for KEY_PRESSED |
int |
eventType
The event type triggered: KEY_PRESSED if a key is pressed on a selected cell
MOUSE_CLICK_SELECTION if a cell is selected using a single
click of the mouse
MOUSE_DOUBLE_CLICK_SELECTION if a cell is selected using
double clicking of the mouse
|
static int |
KEY_PRESSED
if a key is pressed on a selected cell |
int |
keyCode
Only set for KEY_PRESSED |
static int |
MOUSE_CLICK_SELECTION
if a cell is selected using a single click of the mouse |
static int |
MOUSE_DOUBLE_CLICK_SELECTION
if a cell is selected using double clicking of the mouse |
static int |
PROGRAMMATIC
if a cell is activated using code like e.g ColumnViewer.editElement(Object, int) |
EventObject |
sourceEvent
the original event triggered |
int |
stateMask
The statemask |
int |
time
The time the event is triggered |
static int |
TRAVERSAL
is a cell is activated by traversing |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ColumnViewerEditorActivationEvent(ViewerCell cell)
This constructor can be used when no event exists. |
|
ColumnViewerEditorActivationEvent(ViewerCell cell,
KeyEvent event)
|
|
ColumnViewerEditorActivationEvent(ViewerCell cell,
MouseEvent event)
This constructor is used for all types of mouse events. |
|
ColumnViewerEditorActivationEvent(ViewerCell cell,
TraverseEvent event)
This constructor is used to mark the activation triggered by a traversal |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int KEY_PRESSED
public static final int MOUSE_CLICK_SELECTION
public static final int MOUSE_DOUBLE_CLICK_SELECTION
public static final int PROGRAMMATIC
ColumnViewer.editElement(Object, int)
public static final int TRAVERSAL
public EventObject sourceEvent
public int time
public int eventType
KEY_PRESSED
if a key is pressed on a selected cellMOUSE_CLICK_SELECTION
if a cell is selected using a single
click of the mouseMOUSE_DOUBLE_CLICK_SELECTION
if a cell is selected using
double clicking of the mouse
public int keyCode
KEY_PRESSED
public char character
KEY_PRESSED
public int stateMask
public boolean cancel
Constructor Detail |
public ColumnViewerEditorActivationEvent(ViewerCell cell)
PROGRAMMATIC
cell
- the cellpublic ColumnViewerEditorActivationEvent(ViewerCell cell, MouseEvent event)
MOUSE_CLICK_SELECTION
and
MOUSE_DOUBLE_CLICK_SELECTION
cell
- the cell source of the eventevent
- the eventpublic ColumnViewerEditorActivationEvent(ViewerCell cell, KeyEvent event)
cell
- the cell source of the eventevent
- the eventpublic ColumnViewerEditorActivationEvent(ViewerCell cell, TraverseEvent event)
cell
- the cell source of the eventevent
- the event
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.