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/ResourceInfoPage.java
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourceAttributes;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.content.IContentDescription;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.preference.FieldEditor;
import org.eclipse.jface.util.IPropertyChangeListener;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Font;
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.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.PropertyPage;
import org.eclipse.ui.ide.dialogs.ResourceEncodingFieldEditor;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.eclipse.ui.internal.ide.IIDEHelpContextIds;
import org.eclipse.ui.internal.ide.LineDelimiterEditor;
/**
 * The ResourceInfoPage is the page that shows the basic
 * info about the resource.
 */
public class ResourceInfoPage extends PropertyPage {