summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDaniel Rolka2013-10-10 09:14:39 (EDT)
committer Gerrit Code Review @ Eclipse.org2013-10-15 13:48:04 (EDT)
commit4d09b580d350e3fa5704595ed663809a5133a6da (patch)
tree46fd691d7da4f875704599774b57dbb27de1000e
parent84beb8dd30d035dff440c92d2a0a61f6c44d6362 (diff)
downloadeclipse.platform.ui-4d09b580d350e3fa5704595ed663809a5133a6da.zip
eclipse.platform.ui-4d09b580d350e3fa5704595ed663809a5133a6da.tar.gz
eclipse.platform.ui-4d09b580d350e3fa5704595ed663809a5133a6da.tar.bz2
Bug 178081 - [Import/Export] BIDI3.3:<HCG:Dir\File path appear in RTLrefs/changes/69/17269/3
order instead of LTR order> It is the partial fix for the issue. We need the Combo Bidi support to prepare the final fix. Change-Id: I4855868de393f1bb4099da7c45f4d07ff26e14a2 Signed-off-by: Daniel Rolka <daniel.rolka@pl.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardResourceImportPage.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardResourceImportPage.java b/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardResourceImportPage.java
index c190a67..b42e7de 100644
--- a/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardResourceImportPage.java
+++ b/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardResourceImportPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 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
@@ -24,6 +24,8 @@ import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.equinox.bidi.StructuredTextTypeHandlerFactory;
+import org.eclipse.jface.util.BidiUtils;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclipse.jface.viewers.ICheckStateListener;
import org.eclipse.jface.viewers.IStructuredSelection;
@@ -193,6 +195,8 @@ public abstract class WizardResourceImportPage extends WizardDataTransferPage {
// container name entry field
containerNameField = new Text(containerGroup, SWT.SINGLE | SWT.BORDER);
+ BidiUtils.applyBidiProcessing(containerNameField, StructuredTextTypeHandlerFactory.FILE);
+
containerNameField.addListener(SWT.Modify, this);
GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL
| GridData.GRAB_HORIZONTAL);