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/internal/views/markers/MarkersPropertyPage.java
/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.PreferencePage#performOk()
	 */
	public boolean performOk() {
		if (marker == null || Util.isEditable(marker)) {
			saveChanges();
		}
		return super.performOk();
	}
	/**
	 * Saves the changes made in the dialog if needed. Creates a new marker if
	 * needed. Updates the existing marker only if there have been changes.
	 */
	private void saveChanges() {
		Map attrs;
		try {
			attrs = marker.getAttributes();
		} catch (CoreException e) {
			attrs = new HashMap();
			Policy.handle(e);
		}
		attrs.put(IMarker.MESSAGE, descriptionText.getText());
		
		if (priorityCombo != null) {
			int priority = IMarker.PRIORITY_NORMAL;
			int index = priorityCombo.getSelectionIndex();
			if (index == priorityCombo
					.indexOf(MarkerMessages.propertiesDialog_priorityHigh))
				priority = IMarker.PRIORITY_HIGH;
			else if (index == priorityCombo