diff options
| author | Moshe WAJNBERG | 2013-04-23 18:24:08 +0000 |
|---|---|---|
| committer | Markus Keller | 2013-04-23 19:00:17 +0000 |
| commit | 72fba4419fa7dbb7c697c23055d016c02526bffa (patch) | |
| tree | fc6b0159dc2fa3316a1226e1c6b00e18fb0c16af | |
| parent | 8d469823b280cf70f64979ffd533228fe386a5ed (diff) | |
| download | eclipse.platform.ui-72fba4419fa7dbb7c697c23055d016c02526bffa.tar.gz eclipse.platform.ui-72fba4419fa7dbb7c697c23055d016c02526bffa.tar.xz eclipse.platform.ui-72fba4419fa7dbb7c697c23055d016c02526bffa.zip | |
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.java | 4 |
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 a97b1ba251d..07c6ca8b6a2 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); } |
