|Set a label not visible in the creation of its Node [message #220567]
||Wed, 04 March 2009 18:24
Originally posted by: rivera.lcc.uma.es|
I have a class with a boolean attribute. Depending on the value of this
attribute (the default value is false), i want its diagram label to be
shown or not.
Thus, I have modified handleNotificationEvent of the Class' Edit Part
and it works well, but only when the value of this attribute is changed,
not at the creation or initialization of the diagram.
Since the default value of the attribute is false, I want the label not
to be shown in the initialization. I have tried to change CreateContents
in the node's figure creation, also in its Edit Part methods
createNodeFigure and createNodeFIgure, to set it to not visible, but it
makes no effect: it seems that after is set again to visible somewhere
else. ¿Does anyone know where can I set it to not visible in the
intialization of the diagram?
Thank you in advance,
Powered by FUDForum
. Page generated in 0.01466 seconds