Hi Thibault,

thanks for the answer.
In fact the problem comes from the generation: I only regenerate the diagrams 
and not the editor...
So part of the modifications was not taken into account.

Regards,
Arnaud.


-------- Message d'origine--------
De: [EMAIL PROTECTED] de la part de Thibault LANDRE
Date: mar. 14/10/2008 10:43
À: [email protected]
Objet : Re: [Topcased-users] Probleme with graphical properties
 
Hi Arnaud,

this seems to be linked with this feature request that I have 
implemented for the 2.1 release :
http://gforge.enseeiht.fr/tracker/index.php?func=detail&aid=1927&group_id=52&atid=133
I cannot reproduce your issue on a  Topcased 2.1 (on UML).

Before that, this bug was existing on the initialization of the 
preferences. It happened when the diagram and the editor were defined in 
two different plugins.

I have modified the API of the PreferenceIniatilizer in order to solve 
this issue in 2.1 (with a new extension point). I have also modified the 
Topcased generators to reflect those changes.

You should have a look at the 
"org.topcased.modeler.preferences.AbstractTopcasedPreferenceInitializer"
and the extension point : "topcasedPreferenceInitializer"
You can also have a look to the UML and SysML editor that implement this 
new API.


Regards,

Thibault

Arnaud Schach a écrit :
> 
> 
> Hi,
> 
> seems like there is a bug with the graphical properties in the generated 
> editor through Topcased.
> When opening the preferences window of eclipse, the default graphical 
> properties are not taken into account. For instance:
>    background set to white and foreground to black for a component
>    In the graphical editor the properties are taken into account
>    When opening the preferences for this component, both foreground and 
> background are set to black
>    Set the background color to pink, and apply
>    In the graphical editor the properties are taken into account
>    When opening the preferences for this component, background is set to 
> black and foreground to pink
> 
> 
> Regards,
> Arnaud Schach.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Topcased-users mailing list
> [email protected]
> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

<<winmail.dat>>

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to