Bug 140101 [Markers] Focus cannot be set to "Creation time" field in the properties dialog of the task
Focus cannot be set to "Creation time" Ffeld in the properties dialog of the task. Same as the properties dialog of the bookmark. Please fix: in org.eclipse.ui.ide plug-in In src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java 1) line: 84 Old: private Label creationTime; New: private Text creationTime; 2) line: 275 Old: creationTime = new Label(parent, SWT.NONE); New: creationTime = new Text(parent, SWT.SINGLE|SWT.READ_ONLY);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogMarkerProperties.java
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.ide.undo.CreateMarkersOperation;
import org.eclipse.ui.ide.undo.UpdateMarkersOperation;
import org.eclipse.ui.ide.undo.WorkspaceUndoUtil;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
/**
 * Shows the properties of a new or existing marker
 * 
 * In 3.3, this class was refactored to allow pre-existing public dialog classes
 * to share the implementation.  Note that certain methods are exposed as API
 * in public subclasses, so changes to the methods in this class should be
 * treated carefully as they may affect API methods in subclasses.  The specific
 * methods affected are documented in the method comment.
 */
public class DialogMarkerProperties extends TrayDialog {
	private static final String DIALOG_SETTINGS_SECTION = "DialogMarkerPropertiesDialogSettings"; 
	
	/**
	 * The marker being shown, or <code>null</code> for a new marker
	 */
	private IMarker marker = null;