code: void initTabEventHandler(final ToggleButton tabButton) {
  
          try {
              tabButton.setOnDragDetected(getHandler(MouseEvent.DRAG_DETECTED));
              tabButton.setOnAction(getHandler(ActionEvent.ACTION));
  
          } catch (final CoreException ce) {
              LOGGER.error("Error while attaching event handler", ce);
          }
      }
docs: Inits the tab event handler.
  
  @param tabButton the tab button