Bug 132427 [Markers] TaskPropertiesDialog problems
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/TaskPropertiesDialog.java
* @param initialAttributes the initial attributes
     */
    public void setInitialAttributes(Map initialAttributes) {
        this.initialAttributes = initialAttributes;
    }
    /**
     * Returns the initial attributes to use when creating a new task,
     * or <code>null</code> if not set.
     * If not set, the new task is created with default attributes.
     * 
     * @return the initial attributes
     */
    public Map getInitialAttributes() {
        return initialAttributes;
    }
    /* (non-Javadoc)
     * Method declared on Window.
     */
    protected void configureShell(Shell newShell) {
        super.configureShell(newShell);
        if (marker == null) {
            newShell.setText(TaskListMessages.TaskProp_newTaskTitle);
        } else {
            String kind = MarkerUtil.getKindText(marker);
            newShell.setText(NLS.bind(TaskListMessages.TaskProp_propertiesTitle,  kind));
        }
        PlatformUI.getWorkbench().getHelpSystem().setHelp(newShell,
                ITaskListHelpContextIds.PROPERTIES_DIALOG);
    }
    /* (non-Javadoc)