File tree Expand file tree Collapse file tree
bundles/ch.elexis.core.ui/src/ch/elexis/core/ui/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import org .eclipse .jface .viewers .ISelectionChangedListener ;
1919import org .eclipse .jface .viewers .ISelectionProvider ;
2020import org .eclipse .jface .viewers .IStructuredSelection ;
21+ import org .eclipse .jface .viewers .SelectionChangedEvent ;
2122import org .eclipse .jface .viewers .StructuredSelection ;
2223import org .eclipse .nebula .widgets .nattable .NatTable ;
2324import org .eclipse .nebula .widgets .nattable .config .AbstractUiBindingConfiguration ;
@@ -89,6 +90,11 @@ public void handleLayerEvent(ILayerEvent event) {
8990 for (int selectionIdx : selectedIdxs ) {
9091 currentSelection .add (dataProvider .getRowObject (selectionIdx ));
9192 }
93+ Object [] listeners = selectionListener .getListeners ();
94+ for (Object object : listeners ) {
95+ ((ISelectionChangedListener ) object )
96+ .selectionChanged (new SelectionChangedEvent (NatTableWrapper .this , getSelection ()));
97+ }
9298 }
9399 }
94100 });
You can’t perform that action at this time.
0 commit comments