/**
* Initializes the selection change listeners
*/
protected void initSelectionChanges() {
//Update the selection
SelectionManager selectionManager = SelectionManager.getInstance();
/*
* Update the selection model, when the selection state for this window changed
*/
selectionManager.getWindowSelectionManager( getContext().getWindow() ).addSelectionListener( getBeanType(), new SelectionManager.SelectionListener<T>() {
public void notifySelectionChanged( @NotNull Selection<T> selection ) {
if ( changing ) {
return;
}
changing = true;