Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2016-12-13 11:27:34 +0000
committerLars Vogel2016-12-19 06:00:28 +0000
commit7d8417bb93eedbb2b682247e38b149cc700a0281 (patch)
tree93b82a461e9b69b4c73de8a029a34283a54efd0a
parent91e194154d4d889d69484f9799b01077d1ebd22d (diff)
downloadeclipse.platform.text-7d8417bb93eedbb2b682247e38b149cc700a0281.tar.gz
eclipse.platform.text-7d8417bb93eedbb2b682247e38b149cc700a0281.tar.xz
eclipse.platform.text-7d8417bb93eedbb2b682247e38b149cc700a0281.zip
Bug430992 - [CSS] [dark theme] Search dialog tab headers are unstyledI20161220-0530I20161219-2000
Trigger build Change-Id: Ibe279aaaefc409f7754b50504c7146b44d268e79 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/SearchDialog.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchDialog.java b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchDialog.java
index fcd9e9756..3e08318a0 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchDialog.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchDialog.java
@@ -21,6 +21,8 @@ import java.util.List;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
+import org.eclipse.swt.custom.CTabFolder;
+import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.events.SelectionAdapter;
@@ -38,8 +40,6 @@ import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Layout;
import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.TabFolder;
-import org.eclipse.swt.widgets.TabItem;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
@@ -435,7 +435,7 @@ public class SearchDialog extends ExtendedDialogWindow implements ISearchPageCon
composite.setLayout(layout);
composite.setLayoutData(new GridData(GridData.FILL_BOTH));
- TabFolder folder= new TabFolder(composite, SWT.NONE);
+ CTabFolder folder = new CTabFolder(composite, SWT.NONE);
folder.setLayout(new TabFolderLayout());
folder.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
folder.setFont(composite.getFont());
@@ -445,7 +445,7 @@ public class SearchDialog extends ExtendedDialogWindow implements ISearchPageCon
if (WorkbenchActivityHelper.filterItem(descriptor))
continue;
- final TabItem item= new TabItem(folder, SWT.NONE);
+ final CTabItem item = new CTabItem(folder, SWT.NONE);
item.setData("descriptor", descriptor); //$NON-NLS-1$
item.setText(descriptor.getLabel());
item.addDisposeListener(new DisposeListener() {
@@ -567,8 +567,8 @@ public class SearchDialog extends ExtendedDialogWindow implements ISearchPageCon
}
private void turnToPage(SelectionEvent event) {
- final TabItem item= (TabItem) event.item;
- TabFolder folder= item.getParent();
+ final CTabItem item = (CTabItem) event.item;
+ CTabFolder folder = item.getParent();
SearchPageDescriptor descriptor= (SearchPageDescriptor) item.getData("descriptor"); //$NON-NLS-1$

Back to the top