Re: Managing resources with SwiXML

Frank Meissner <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
Frederic Gedin wrote:
> Hi
> 
> I wonder if there is a way to manage resources using swixml. I mean 
> defining a color or a font in some bundle file and refer to the bundle 
> definition in the xml file. This would avoid to write tons of 
> foreground="204,204,204" in the xml file which is also difficult to 
> maintain if I want to change the color or the font.

Hello Frederic,

if you use ant to build your system, you may do this through an 
replacetoken. Otherwise you can only use the standard colors defined in 
java.awt.Color.

Yours,

Frank
> 
> Regards
> 
> Frédéric
> 
> 
> 
> _______________________________________________
> Forum mailing list
> [email protected]
> http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.