Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to get the value of extension attributes with default values
How to get the value of extension attributes with default values [message #168319] Tue, 09 December 2003 15:34
Eclipse UserFriend
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
Previous Topic:Launching a runtime-workbench with OSGi bundles
Next Topic:Eclipse platform for NON-IDE use
Goto Forum:
  


Current Time: Thu Jul 17 22:13:42 EDT 2025

Powered by FUDForum. Page generated in 0.05854 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top