Package com._1c.g5.v8.dt.ui.aef.events
Class TreeModifyEvent
java.lang.Object
com._1c.g5.v8.dt.ui.aef.events.TreeModifyEvent
- All Implemented Interfaces:
IEvent
Event triggered on delete or insert keys pressed on the tree item.
-
Constructor Summary
ConstructorsConstructorDescriptionTreeModifyEvent
(TreeItemViewModel itemViewModel, int keyCode) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the item view model clicked.int
Returns the current event keyCode
-
Constructor Details
-
TreeModifyEvent
Creates a new instance.- Parameters:
itemViewModel
- the item view model clicked, cannot benull
keyCode
- the key code of the button, can be eitherSWT.INSERT
orSWT.DEL
-
-
Method Details
-
getItemViewModel
Returns the item view model clicked.- Returns:
- the item view model clicked, cannot be
null
-
getKeyCode
public int getKeyCode()Returns the current event keyCode- Returns:
- the event keyCode
-