@Override
      public boolean isEnabled(@Nullable KeyEvent e) {
        return listener != null && listener.canSplit(vertically);
      }
@Override
      public boolean isEnabled(@Nullable KeyEvent e)