Differences

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

Link to this comparison view

get_current_tree_selection [2018/01/06 09:06]
get_current_tree_selection [2021/04/05 11:23] (current)
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}}