Package com._1c.g5.v8.dt.ui.aef.events
Class TreeModifyEvent
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.events.TreeModifyEvent
-
-
Constructor Summary
Constructors Constructor Description TreeModifyEvent(TreeItemViewModel itemViewModel, int keyCode)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeItemViewModel
getItemViewModel()
Returns the item view model clicked.int
getKeyCode()
Returns the current event keyCode
-
-
-
Constructor Detail
-
TreeModifyEvent
public TreeModifyEvent(TreeItemViewModel itemViewModel, int keyCode)
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 Detail
-
getItemViewModel
public TreeItemViewModel 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
-
-