How to get the value of extension attributes with default values [message #168319] |
Tue, 09 December 2003 15:34 |
Eclipse User |
|
|
|
OK,
I have searched the archives of this and other Eclipse news groups and I
have not found a definitive answer. Same goes for the bug list. Sorry if
this is a repeat.
I define a schema with attributes whose 'Use' property is set to
default. If I create an extension in a plugin based on that schema, I
notice that the XML manifest will not contain the default values for
those attributes. I gather this is a space-saving optimization and that
is perfectly reasonable. However, when I iterate over the
IConfigurationElement array from the extension programatically, the
attributes with default values are not available, only the attributes I
have explicitly set a value for or those defined as required.
Is there any way I can get values for attributes with a default use if
they have not been overridden in the extension?
Thanks,
Sean Evoy
|
|
|
Powered by
FUDForum. Page generated in 0.05854 seconds