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/bookmarkexplorer/BookmarkPropertiesDialog.java
if (locationText != null) {
            int line = MarkerUtil.getLineNumber(marker);
            if (line < 0) {
				locationText.setText(""); 
			} else {
				locationText.setText(NLS.bind(BookmarkMessages.LineIndicator_text, String.valueOf(line)));
			}
        }
        descriptionText.selectAll();
    }
    void updateDialogForNewMarker() {
        if (resource != null) {
            resourceText.setText(resource.getName());
            IPath path = resource.getFullPath();
            int n = path.segmentCount() - 1; 
            if (n > 0) {
                int len = 0;
                for (int i = 0; i < n; ++i) {
					len += path.segment(i).length();
				}
                
                if (n > 1) {
					len += n - 1;
				}
                StringBuffer sb = new StringBuffer(len);
                for (int i = 0; i < n; ++i) {
                    if (i != 0) {
						sb.append('/');
					}
                    sb.append(path.segment(i));