Bug 66375 [Dialogs] TaskPropertiesDialog and DialogMarkerProperties need a common superclass
RC1 Despite these two classes being pretty much identical they share almost no code. TaskPropertiesDialog should be a subclass a DialogMarkerProperties. As this is an API change post 3.0
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/TaskPropertiesDialog.java
descriptionText.selectAll();
        creationTime.setText(MarkerUtil.getCreationTime(marker));
        if (isTask()) {
            priorityCombo.clearSelection();
            priorityCombo.select(IMarker.PRIORITY_HIGH
                    - MarkerUtil.getPriority(marker));
            completedCheckbox.setSelection(MarkerUtil.isComplete(marker));
            markDirty();
        } else {
            /* 	workaround for bug 11078: Can't get a read-only combo box
             severityCombo.clearSelection();
             severityCombo.select(IMarker.SEVERITY_ERROR - MarkerUtil.getSeverity(marker));
             */
            String sev = ""; 
            switch (MarkerUtil.getSeverity(marker)) {
            case IMarker.SEVERITY_ERROR:
                sev = TaskListMessages.TaskList_error;
                break;
            case IMarker.SEVERITY_WARNING:
                sev = TaskListMessages.TaskList_warning; 
                break;
            case IMarker.SEVERITY_INFO:
                sev = TaskListMessages.TaskList_info;
                break;
            }
            severityLabel.setText(sev);
        }
        resourceText.setText(MarkerUtil.getResourceName(marker));
        folderText.setText(MarkerUtil.getContainerName(marker));
        locationText.setText(MarkerUtil.getLineAndLocation(marker));