From: Andrea A. <aa...@op...> - 2008-04-15 08:34:29
|
Andrea Aime ha scritto: > Hi, > so we're good to go for a vote. > The proposal is here: > http://docs.codehaus.org/display/GEOTOOLS/Dynamic+SLD+Graphic+objects > I had an offline mail exchange with Jody and he made me notice the proposal did not have anything to help UI to list the possible symbols generated by a factory. I was tempted to add it to the proposal, but deeper thinking made me stop. The first observation is that not all factories can support listing... think mil2525b, how do you list all possible symbols you can generate? Would it be any useful? Probably not, a UI specially geared to it, that understands the meaning of each letter in the mil2525b set would be needed. A more listable case is a set of symbols contained in TTF fonts. But again, the list would be way too long, since the factory would provide symbols out of each font it can find on the system (how do you know if a font can provide symbols or not?). Again, a UI specially geared towards fonts should be implemented, listing the fonts in a combo and the symbols in the font in a table. So I think adding a generic getSymbolNamesList() method is not going to provide any goodness to UIs. Anyways, if you have opinions, shoot. Cheers Andrea |