aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoshe WAJNBERG2013-04-23 14:24:08 (EDT)
committerMarkus Keller2013-04-23 15:00:17 (EDT)
commit72fba4419fa7dbb7c697c23055d016c02526bffa (patch)
treefc6b0159dc2fa3316a1226e1c6b00e18fb0c16af
parent8d469823b280cf70f64979ffd533228fe386a5ed (diff)
downloadeclipse.platform.ui-72fba4419fa7dbb7c697c23055d016c02526bffa.zip
eclipse.platform.ui-72fba4419fa7dbb7c697c23055d016c02526bffa.tar.gz
eclipse.platform.ui-72fba4419fa7dbb7c697c23055d016c02526bffa.tar.bz2
Bug 404234: [Bidi] Enforce Base Text Direction for the project name in the New Project wizard
-rw-r--r--bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java b/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java
index a97b1ba..07c6ca8 100644
--- a/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java
+++ b/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 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,7 @@ import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.jface.util.BidiUtils;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
@@ -222,6 +223,7 @@ public class WizardNewProjectCreationPage extends WizardPage {
projectNameField.setText(initialProjectFieldValue);
}
projectNameField.addListener(SWT.Modify, nameModifyListener);
+ BidiUtils.applyBidiProcessing(projectNameField, BidiUtils.BTD_DEFAULT);
}