Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2010-10-30 19:32:49 +0000
committerMarkus Keller2010-10-30 19:32:49 +0000
commit3285d7f8962d56f49f4717e3750f48ca2ef59545 (patch)
treee02071965bf8e2831f108d608e47354159485cff /org.eclipse.ui.editors.tests
parente472b7e57a588f95e8e26a4e05fe97b3165ddab9 (diff)
downloadeclipse.platform.text-3285d7f8962d56f49f4717e3750f48ca2ef59545.tar.gz
eclipse.platform.text-3285d7f8962d56f49f4717e3750f48ca2ef59545.tar.xz
eclipse.platform.text-3285d7f8962d56f49f4717e3750f48ca2ef59545.zip
Bug 327842: Key bindings broken in editor when showing status
Diffstat (limited to 'org.eclipse.ui.editors.tests')
-rw-r--r--org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/EncodingChangeTests.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/EncodingChangeTests.java b/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/EncodingChangeTests.java
index 70d13ddf986..1de880ada8d 100644
--- a/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/EncodingChangeTests.java
+++ b/org.eclipse.ui.editors.tests/src/org/eclipse/ui/editors/tests/EncodingChangeTests.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -17,7 +17,7 @@ import junit.framework.TestSuite;
import org.eclipse.swt.custom.ScrolledComposite;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
import org.eclipse.core.runtime.CoreException;
@@ -172,7 +172,7 @@ public class EncodingChangeTests extends TestCase {
String expected= encodingSupport.getStatusMessage(fileBuffer.getStatus());
Composite composite= (Composite)accessor.get("fStatusControl");
ScrolledComposite scrolledComposite= (ScrolledComposite)composite.getChildren()[0];
- Label statusText= (Label)((Composite)scrolledComposite.getContent()).getChildren()[5];
+ Text statusText= (Text)((Composite)scrolledComposite.getContent()).getChildren()[5];
String actual= statusText.getText();
assertEquals(expected, actual);
} else

Back to the top