The problem you are facing is this little page: 
http://saros-build.imp.fu-berlin.de/test/annotation.png

You will still be able to change the Annotation colors (currently only 
on your side).

Maybe you can just "hardstore" the colors into the preference store when 
the default are
initialized and overwrite the annotation colors every time a session is 
started (should be
placed ... I don't know, seems the EditorManager maybe a good spot).

For XML: JAXP http://de.wikipedia.org/wiki/Java_API_for_XML_Processing

The underlaying implementation is normally the Apache Xerces library 
(depends on your Java Vendor).

BR,
Stefan

Am 09.10.2012 18:34, schrieb Michael:
> Hello Developers,
>
>
> To guarantee a smooth upgrade of the saros version that will contain the
> new color managment known as session-6,
> the sarosannotation constructor needs to revert some values to defaults
> from a plugin.xml
> The values I mean are are written into a preference store.
>
>
> My question is:
>
> Is there an implementation in saros of an xml file reader? I did not
> find one sofar.
> It would be used to get some color values to write them to the
> preference store.
>
> Or would I have to write a read and parser myself?
>
> Thanks a lot
>
> Micha
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Dpp-devel mailing list
> Dpp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dpp-devel


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dpp-devel mailing list
Dpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to