public void selectionChanged( DropDownAction action, Set<Dockable> dockables, DockAction newSelection ){ if( selection != null ) selection.getView().setView( null ); reset(); selection = items.get( newSelection ); if( selection != null ) selection.getView().setView( selectionView ); getModel().changed(); }
reset(); selection = items.get( action.getSelection( dockable ) ); if( selection != null )