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
if (o instanceof Boolean) {
                completed = ((Boolean) o).booleanValue();
            }
        }
        completedCheckbox.setSelection(completed);
        IResource resource = getResource();
        if (resource != null && resourceText != null) {
            resourceText.setText(resource.getName());
            IResource parent = resource.getParent();
            folderText
                    .setText(parent == null ? "" : parent.getFullPath().toString().substring(1)); 
        }
        int line = -1;
        String loc = ""; 
        if (attrs != null) {
            Object o = attrs.get(IMarker.LINE_NUMBER);
            if (o instanceof Integer) {
                line = ((Integer) o).intValue();
            }
            o = attrs.get(IMarker.LOCATION);
            if (o instanceof String) {
                loc = (String) o;
            }
        }
        if (locationText != null) {
			locationText.setText(MarkerUtil.getLineAndLocation(line, loc));
		}
        markDirty();
        return;
    }