mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[toolwindow] IJPL-59194 Drop 'ide.allow.split.and.reorder.in.tool.window' registry property
It is true by default for years and not used by our users. GitOrigin-RevId: 2b51a70f558e1eb4e0a409958c9dc7725e99b3fb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8710241253
commit
9d431accc3
+1
-3
@@ -19,7 +19,6 @@ import com.intellij.openapi.ui.popup.ListPopup;
|
||||
import com.intellij.openapi.util.Disposer;
|
||||
import com.intellij.openapi.util.Key;
|
||||
import com.intellij.openapi.util.Ref;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.wm.*;
|
||||
import com.intellij.openapi.wm.impl.ToolWindowImpl;
|
||||
import com.intellij.openapi.wm.impl.ToolWindowManagerImpl;
|
||||
@@ -821,8 +820,7 @@ public final class ToolWindowContentUi implements ContentUI, UiCompatibleDataPro
|
||||
* @return whether reorder and split of tabs in the provided tool window is allowed.
|
||||
*/
|
||||
public static boolean isTabsReorderingAllowed(@NotNull ToolWindow window) {
|
||||
return ClientProperty.isTrue(window.getComponent(), ALLOW_TABS_REORDERING) &&
|
||||
Registry.is("ide.allow.split.and.reorder.in.tool.window", false);
|
||||
return ClientProperty.isTrue(window.getComponent(), ALLOW_TABS_REORDERING);
|
||||
}
|
||||
|
||||
private static final Key<ToolWindowInEditorSupport> TOOLWINDOW_IN_EDITOR_SUPPORT = Key.create("ToolWindowInEditorSupport");
|
||||
|
||||
@@ -183,9 +183,7 @@ class ToolWindowPane private constructor(
|
||||
add(layeredPane, DEFAULT_LAYER, -1)
|
||||
focusTraversalPolicy = LayoutFocusTraversalPolicy()
|
||||
ToolWindowDragHelper(disposable, this).start()
|
||||
if (Registry.`is`("ide.allow.split.and.reorder.in.tool.window")) {
|
||||
ToolWindowInnerDragHelper(disposable, this).start()
|
||||
}
|
||||
ToolWindowInnerDragHelper(disposable, this).start()
|
||||
}
|
||||
|
||||
private fun setUpSplitter(splitter: ThreeComponentsSplitter) {
|
||||
|
||||
@@ -129,9 +129,6 @@ ide.new.tool.window.start.drag.deadzone=100
|
||||
ide.new.tool.window.start.drag.deadzone.description=Minimal distance from pressed point to start drag (and thus to avoid mistaken one)
|
||||
ide.switcher.tool.window.list=true
|
||||
ide.switcher.tool.window.list.description=Shows a list of tool windows in the Switcher popup
|
||||
ide.allow.split.and.reorder.in.tool.window=true
|
||||
ide.allow.split.and.reorder.in.tool.window.description=Allows reordering tabs and splitting space in tool windows
|
||||
ide.allow.split.and.reorder.in.tool.window.restartRequired=true
|
||||
ide.tool.window.prevent.move.resize.timeout=100
|
||||
ide.tool.window.prevent.move.resize.timeout.description=Time interval (in ms) after showing a detached (floating or windowed) tool window during which\
|
||||
OS/JBR-induced moves and resizes will be prevented. Set to a negative value to disable this functionality
|
||||
|
||||
Reference in New Issue
Block a user