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
/* (non-Javadoc)
     * Method declared on Dialog
     */
    protected void okPressed() {
        saveChanges();
        super.okPressed();
    }
    private void markDirty() {
        dirty = true;
    }
    private boolean isDirty() {
        return dirty;
    }
    /**
     * Returns whether the marker is editable.
     */
    private boolean isEditable() {
        return marker == null || MarkerUtil.isEditable(marker);
    }
    /**
     * Returns <code>true</code> if a task is being created or modified.
     * Returns <code>false</code> if a problem is being shown.
     */
    private boolean isTask() {
        return marker == null || MarkerUtil.isMarkerType(marker, IMarker.TASK);
    }
    /**
     * Saves the changes made in the dialog if needed.
     * Creates a new task if needed.
     * Updates the existing task only if there have been changes.