Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 92518 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jface/dialogs/DialogSettings.java (+9 lines)
Lines 128-133 Link Here
128
    /* (non-Javadoc)
128
    /* (non-Javadoc)
129
     * Method declared on IDialogSettings.
129
     * Method declared on IDialogSettings.
130
     */
130
     */
131
    public void removeSection(String name) {
132
    	if(sections.containsKey(name)){
133
    		sections.remove(name);
134
    	}
135
    }
136
    
137
    /* (non-Javadoc)
138
     * Method declared on IDialogSettings.
139
     */
131
    public String get(String key) {
140
    public String get(String key) {
132
        return (String) items.get(key);
141
        return (String) items.get(key);
133
    }
142
    }
(-)src/org/eclipse/jface/dialogs/IDialogSettings.java (+8 lines)
Lines 39-44 Link Here
39
    public void addSection(IDialogSettings section);
39
    public void addSection(IDialogSettings section);
40
40
41
    /**
41
    /**
42
     * Remove a section in the receiver.
43
     * 
44
     * @param name
45
     *            the name of the section to be removed
46
     */
47
    public void removeSection(String name);
48
    
49
    /**
42
     * Returns the value of the given key in this dialog settings.
50
     * Returns the value of the given key in this dialog settings.
43
     * 
51
     * 
44
     * @param key
52
     * @param key

Return to bug 92518