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.intReturns the current event keyCode
-
Constructor Details
-
TreeModifyEvent
Creates a new instance.- Parameters:
itemViewModel- the item view model clicked, cannot benullkeyCode- the key code of the button, can be eitherSWT.INSERTorSWT.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
-