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
resource = ResourcesPlugin.getWorkspace().getRoot();
            }
            monitor.worked(25);
            marker = resource.createMarker(IMarker.TASK);
            Map initialAttrs = getInitialAttributes();
            if (initialAttrs != null) {
                marker.setAttributes(initialAttrs);
            }
            monitor.worked(25);
        } else {
			monitor.worked(50);
		}
        
        
        
        monitor.subTask(TaskListMessages.TaskPropertiesDialog_UpdatingAttributes);
        int increment = 50 / attrs.keySet().size();
        for (Iterator i = attrs.keySet().iterator(); i.hasNext();) {
            String key = (String) i.next();
            Object val = attrs.get(key);
            marker.setAttribute(key, val);
            monitor.worked(increment);
        }
        monitor.done();
    }
    /**
     * Returns the marker attributes to save back to the marker, 
     * based on the current dialog fields.
     */
    private Map getMarkerAttributesFromDialog() {