From ca30a37dcccea38bed3a24e20b95759f10ad9f34 Mon Sep 17 00:00:00 2001 From: "Praveen S.K" Date: Thu, 29 Aug 2024 09:08:16 +0530 Subject: [PATCH] Changed the updateContainer method to protected --- .../org/eclipse/ui/part/MultiPageEditorPart.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java index 0b1783bcf56..c08023634cd 100644 --- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java +++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorPart.java @@ -1280,7 +1280,17 @@ public void run() { } } - private void updateContainer() { + /** + * Updates the tab position of the container in the multi-page editor. + * + *

+ * This method retrieves the current container and sets the tab position based + * on the user preference. + *

+ * + * @since 3.133 + */ + protected void updateContainer() { Composite container = getContainer(); if (container instanceof CTabFolder tabFolder) { tabFolder.setTabPosition(getTabStyle());