DragHelper (@NotNull JBTabsImpl tabs, @NotNull Disposable parentDisposable) { return new DragHelper(tabs, parentDisposable) { @Override protected boolean canFinishDragging(@NotNull MouseEvent me) { return true; } }; }