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
}
                    });
        } catch (InvocationTargetException e) {
            IDEWorkbenchPlugin.log(e.getMessage(), StatusUtil.newStatus(
                    IStatus.ERROR, e.getMessage(), e));
            return;
        }
        catch (InterruptedException e) {
            IDEWorkbenchPlugin.log(e.getMessage(), StatusUtil.newStatus(
                    IStatus.ERROR, e.getMessage(), e));
            return;
        }
        if (coreExceptions[0] != null) {
			ErrorDialog.openError(getShell(), TaskListMessages.TaskProp_errorMessage, 
                    null, coreExceptions[0].getStatus());
		}
    }
    /**
     * Creates or updates the marker.  Must be called within a workspace runnable.
     * @param monitor The monitor to report to.
     * @param attrs The atrributes entered from the dialog.
     * @throws CoreException
     */
    private void createOrUpdateMarker(IProgressMonitor monitor, Map attrs)
            throws CoreException {
        monitor.beginTask(TaskListMessages.TaskPropertiesDialog_WorkingOnMarker, 100); 
        if (marker == null) {
            monitor.subTask(TaskListMessages.TaskPropertiesDialog_CreatingMarker);
            IResource resource = getResource();
            if (resource == null) {