diff options
author | Alexander Kurtakov | 2020-09-30 06:37:40 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-09-30 06:37:40 +0000 |
commit | 4b29927d4cf4763fb3e7dd8fa6300572ab5e3fe1 (patch) | |
tree | 53e3a34ec13f3b9914ad787e117fb647212746fa | |
parent | a8d04604b949e0a250a90f41f578c9d8fd8de186 (diff) | |
download | eclipse.platform.debug-4b29927d4cf4763fb3e7dd8fa6300572ab5e3fe1.tar.gz eclipse.platform.debug-4b29927d4cf4763fb3e7dd8fa6300572ab5e3fe1.tar.xz eclipse.platform.debug-4b29927d4cf4763fb3e7dd8fa6300572ab5e3fe1.zip |
Bug 567462 - Use stadard tabs
Launch config dialog and memory views use
CTabFolder.setSimple(PlatformUI.getPreferenceStore().getBoolean(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS));
but SHOW_TRADITIONAL_STYLE_TABS is always false and it ends up using the
weird curved tabs which are not used anywhere else in the workbench.
Change-Id: Ifd3db882d1d0b44b69908142ec32aa47bf7eda91
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2 files changed, 2 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java index f7e750bf8..9d8adbf2e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2019 IBM Corporation and others. + * Copyright (c) 2000, 2020 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -80,8 +80,6 @@ import org.eclipse.swt.widgets.Link; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; -import org.eclipse.ui.IWorkbenchPreferenceConstants; -import org.eclipse.ui.PlatformUI; import org.eclipse.ui.progress.WorkbenchJob; /** @@ -397,7 +395,6 @@ public class LaunchConfigurationTabGroupViewer { fTabFolder = new CTabFolder(parent, SWT.NO_REDRAW_RESIZE | SWT.FLAT); fTabFolder.setSelectionBackground(new Color[] {c1, c2}, new int[] {100}, true); fTabFolder.setSelectionForeground(reg.get("org.eclipse.ui.workbench.ACTIVE_TAB_TEXT_COLOR")); //$NON-NLS-1$ - fTabFolder.setSimple(PlatformUI.getPreferenceStore().getBoolean(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS)); fTabFolder.setBorderVisible(true); GridData gd = new GridData(GridData.FILL_BOTH); gd.horizontalSpan = 2; diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RenderingViewPane.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RenderingViewPane.java index 9509fde4d..28efdf450 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RenderingViewPane.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RenderingViewPane.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2018 IBM Corporation and others. + * Copyright (c) 2004, 2020 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -61,7 +61,6 @@ import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Display; import org.eclipse.ui.IViewPart; import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.IWorkbenchPreferenceConstants; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.progress.UIJob; @@ -726,7 +725,6 @@ public class RenderingViewPane extends AbstractMemoryViewPane implements IMemory c2 = reg.get("org.eclipse.ui.workbench.ACTIVE_TAB_BG_END"); //$NON-NLS-1$ folder.setSelectionBackground(new Color[] { c1, c2 }, new int[] { 100 }, true); folder.setSelectionForeground(reg.get("org.eclipse.ui.workbench.ACTIVE_TAB_TEXT_COLOR")); //$NON-NLS-1$ - folder.setSimple(PlatformUI.getPreferenceStore().getBoolean(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS)); folder.setBorderVisible(true); folder.setFont(fViewPaneCanvas.getFont()); |