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
Map attribs = new HashMap(11);
        if (isTask()) {
            attribs.put(IMarker.MESSAGE, descriptionText.getText());
            int i = priorityCombo.getSelectionIndex();
            if (i != -1) {
                attribs.put(IMarker.PRIORITY, new Integer(IMarker.PRIORITY_HIGH
                        - i));
            }
            attribs.put(IMarker.DONE,
                    completedCheckbox.getSelection() ? Boolean.TRUE
                            : Boolean.FALSE);
        }
        return attribs;
    }
    
	/* (non-Javadoc)
     * @see org.eclipse.jface.window.Dialog#getDialogBoundsSettings()
     * 
     * @since 3.2
     */
	protected IDialogSettings getDialogBoundsSettings() {
        IDialogSettings settings = IDEWorkbenchPlugin.getDefault().getDialogSettings();
        IDialogSettings section = settings.getSection(DIALOG_SETTINGS_SECTION);
        if (section == null) {
            section = settings.addNewSection(DIALOG_SETTINGS_SECTION);
        } 
        return section;
	}
}