Community
Participate
Working Groups
Build ID: I20060922-0010 Steps To Reproduce: This is just a notice that we We are reusing the org.eclipse.ui.XMLMemento with a few changes to suit our needs. For example we have a getNames() API that returns a List of all of the element's attribute names. We also added a putBoolean() and getBoolean() method for utility purposes (similar to get/setFloat, etc). We had to extend the IMemento interface to support this as well. More information:
As I understand it, you need to post the 2 new files or the patch as well. PW
Created attachment 59820 [details] XMLMemento version
Consider contributing some of the changes back to eclipse. Contribute: getBoolean()/setBoolean() Also: Change getName() to getType() Change getNames() to getAttributeNames() PW
(In reply to comment #3) > Consider contributing some of the changes back to eclipse. Sorry, that should read Platform UI to consider adopting ... PW
Paul, punt this back if you think there's a better owner for it...(McQ?).
Created attachment 77464 [details] Patch to add in the four new methods. Adding: -getName() returning String -getAttributeKeys() returning String[] -getBoolean() returning Boolean -setBoolean(String, boolean) This patch also updates ConfigurationElementMemento which appears to not have been included in the zip file.
I've released: -getType() returning String -getAttributeKeys() returning String[] -getBoolean() returning Boolean -setBoolean(String, boolean) to HEAD >20070831 - thanx for the update, Remy. PW
In I20070918-0010 PW