Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Jongman2012-12-19 04:59:04 -0500
committerWim Jongman2012-12-19 04:59:04 -0500
commitb8583213903735f8718b5b7296e471c77272a0b1 (patch)
tree18e5f658d23cde4dd799daa8d10dfb3ad89c4923
parentfb48437314396d49fec95f0df1546ac4111f2695 (diff)
downloadorg.eclipse.e4.tools-b8583213903735f8718b5b7296e471c77272a0b1.tar.gz
org.eclipse.e4.tools-b8583213903735f8718b5b7296e471c77272a0b1.tar.xz
org.eclipse.e4.tools-b8583213903735f8718b5b7296e471c77272a0b1.zip
bug 396694: Disabled the FilteredTree.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395174
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java
index be541f72..ba479573 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/ModelEditor.java
@@ -57,7 +57,6 @@ import org.eclipse.e4.tools.emf.ui.common.MemoryTransfer;
import org.eclipse.e4.tools.emf.ui.common.Util;
import org.eclipse.e4.tools.emf.ui.common.component.AbstractComponentEditor;
import org.eclipse.e4.tools.emf.ui.internal.Messages;
-import org.eclipse.e4.tools.emf.ui.internal.PatternFilter;
import org.eclipse.e4.tools.emf.ui.internal.ResourceProvider;
import org.eclipse.e4.tools.emf.ui.internal.ShadowComposite;
import org.eclipse.e4.tools.emf.ui.internal.common.component.AddonsEditor;
@@ -152,7 +151,6 @@ import org.eclipse.e4.ui.model.application.ui.menu.impl.MenuPackageImpl;
import org.eclipse.e4.ui.model.fragment.MModelFragments;
import org.eclipse.e4.ui.model.fragment.impl.FragmentPackageImpl;
import org.eclipse.e4.ui.model.internal.ModelUtils;
-import org.eclipse.e4.ui.workbench.swt.internal.copy.FilteredTree;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.databinding.EMFProperties;
import org.eclipse.emf.databinding.FeaturePath;
@@ -926,9 +924,11 @@ public class ModelEditor {
treeArea.setData(CSS_CLASS_KEY, "formContainer"); //$NON-NLS-1$
treeArea.setBackgroundMode(SWT.INHERIT_DEFAULT);
- final FilteredTree viewParent = new FilteredTree(treeArea, SWT.H_SCROLL | SWT.V_SCROLL, new PatternFilter(), true);
+ // final FilteredTree viewParent = new FilteredTree(treeArea,
+ // SWT.H_SCROLL | SWT.V_SCROLL, new PatternFilter(), true);
+ // final TreeViewer viewer = ((FilteredTree) viewParent).getViewer();
- final TreeViewer viewer = ((FilteredTree) viewParent).getViewer();
+ final TreeViewer viewer = new TreeViewer(treeArea, SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL);
viewer.setLabelProvider(new ComponentLabelProvider(this, messages));
ObservableListTreeContentProvider contentProvider = new ObservableListTreeContentProvider(new ObservableFactoryImpl(), new TreeStructureAdvisorImpl());

Back to the top