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/markers/internal/DialogMarkerProperties.java
attrs.put(IMarker.MESSAGE, descriptionText.getText());
        return attrs;
    }
    /**
     * Create the marker and report progress
     * to the monitor.
     * @param monitor
     * @throws CoreException
     */
    private void createMarker(IProgressMonitor monitor) throws CoreException {
        if (resource == null) {
			return;
		}
        monitor.worked(10);
        marker = resource.createMarker(type);
        monitor.worked(40);
    }
    /**
     * Updates widget enablement for the dialog. Should be overridden by subclasses. 
     */
    protected void updateEnablement() {
        descriptionText.setEditable(isEditable());
    }
    /**
     * @return
     * <ul>
     * <li><code>true</code> if the marker is editable or the dialog is creating a new marker.</li>
     * <li><code>false</code> if the marker is not editable.</li>
     * </ul>
     */