Erik's XDoclet thing *does* bring a solution, in fact :)

The code calls the appropriate method in EnumeratedAttribute classes to get the list of allowed values and then puts them in the XML descriptor, currently as a comma-separated list with quotes around each value, but more ideally would be sub-elements that lists them individually to avoid tools having to parse further. My original purpose was documentation, not tools, so there will be refinements like this needed.

Check out build/gen/utility/echo.xml, and the briefType on the 'level' attribute element (boy does that sound confusing!) [this after running the build from the proposal/xdocs directory].

        Erik


On Tuesday, January 28, 2003, at 05:53 PM, Dominique Devienne wrote:
Take a look at EnumeratedAttribute.java for example of attributes that can
take a finite set of values. Is that what you meant? --DD


-----Original Message-----
From: Christoph Wilhelms [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 4:18 PM
To: 'Ant Developers List'
Subject: RE: [ANTidote] Introspection implemented and updated ToDo's

what I meant when I wrote "list types" was, for instance, the
"level-attribute", that can have the values "debug, verbose, etc.". The
editor should be a ComboBox. It's not 100% clear to me where to get these
values, but Eriks XDoclet thing could bring a solution!


Greetings,
Chris

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to