Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 23930 Details for
Bug 92518
[Dialogs] Removing sections from DialogSettings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
patch to remove section bug
dialogsettings_section_remove_patch.txt (text/plain), 1.67 KB, created by
]-[appy
on 2005-06-24 04:59:22 EDT
(
hide
)
Description:
patch to remove section bug
Filename:
MIME Type:
Creator:
]-[appy
Created:
2005-06-24 04:59:22 EDT
Size:
1.67 KB
patch
obsolete
>Index: src/org/eclipse/jface/dialogs/DialogSettings.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jface/src/org/eclipse/jface/dialogs/DialogSettings.java,v >retrieving revision 1.19 >diff -u -r1.19 DialogSettings.java >--- src/org/eclipse/jface/dialogs/DialogSettings.java 15 Jun 2005 18:41:18 -0000 1.19 >+++ src/org/eclipse/jface/dialogs/DialogSettings.java 24 Jun 2005 08:59:04 -0000 >@@ -128,6 +128,15 @@ > /* (non-Javadoc) > * Method declared on IDialogSettings. > */ >+ public void removeSection(String name) { >+ if(sections.containsKey(name)){ >+ sections.remove(name); >+ } >+ } >+ >+ /* (non-Javadoc) >+ * Method declared on IDialogSettings. >+ */ > public String get(String key) { > return (String) items.get(key); > } >Index: src/org/eclipse/jface/dialogs/IDialogSettings.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jface/src/org/eclipse/jface/dialogs/IDialogSettings.java,v >retrieving revision 1.8 >diff -u -r1.8 IDialogSettings.java >--- src/org/eclipse/jface/dialogs/IDialogSettings.java 25 Feb 2005 20:39:52 -0000 1.8 >+++ src/org/eclipse/jface/dialogs/IDialogSettings.java 24 Jun 2005 08:59:04 -0000 >@@ -39,6 +39,14 @@ > public void addSection(IDialogSettings section); > > /** >+ * Remove a section in the receiver. >+ * >+ * @param name >+ * the name of the section to be removed >+ */ >+ public void removeSection(String name); >+ >+ /** > * Returns the value of the given key in this dialog settings. > * > * @param key
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 92518
:
23930
|
226265