code: @Override
      public void action(final ActionEvent actionEvent) {
  
          final ToggleButton b = (ToggleButton) actionEvent.getSource();
  
          final Dockable t = (Dockable) b.getUserData();
  
          controller().view().selectTab(t);
  
          // if(actionEvent.){
          // getController().getModel().removeTab(model, wave);
          // getController().getModel().getObject().tabs().remove(t);
          // }
      }
docs: {@inheritDoc}