User Tools

Site Tools


get_current_tree_selection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

get_current_tree_selection [2018/01/06 08:06] (current)
mihael created
Line 1: Line 1:
 +====== Get Current Tree Selection ======
  
 +The current selection can be injected into the handler execute method:
 +
 +<sxh java>
 +public void execute(@Named(IServiceConstants.ACTIVE_SELECTION) TreeSelection selection) {
 +    ...
 +}
 +</​sxh>​
 +
 +{{tag>​devel eclipse e4 java}}
get_current_tree_selection.txt ยท Last modified: 2018/01/06 08:06 by mihael