Bug 119517 TVT3.1.x:TCT229: Directory/path/file name fields must be LTR
Wherever file name/paths are displayed, reading order must be LTR. Here's an example from the New Project dialog - you can see the project name is appended at the beginning of the path instead of the end because the Directory field has RTL reading order. I expect this pronlem was reported and maybe already fixed for Arabic? Attaching file. simplified testcase: - select File>New>Other>Simple>Project and click Next button - copy a few bidi characters (for example, from the description at the top of the wizard) - paste it into the Project name field - BIDIC:\Documents...\workspace is displayed in the Directory field, where BIDI is the bidi characters (see screen capture) This article was reassigned from Category:''Legacy Project,TVT,Uncategorized''.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectContentsLocationArea.java
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.eclipse.ui.internal.ide.filesystem.FileSystemConfiguration;
import org.eclipse.ui.internal.ide.filesystem.FileSystemSupportRegistry;
/**
 * ProjectContentsLocationArea is a convenience class for area that handle entry
 * of locations using URIs.
 * 
 * @since 3.2
 * 
 */
public class ProjectContentsLocationArea {
	/**
	 * IErrorMessageReporter is an interface for type that allow message
	 * reporting.
	 * 
	 */
	public interface IErrorMessageReporter {
		/**
		 * Report the error message
		 *