Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] External label problem

Hi Arthur,

 

Thanks for the info and work. Could you add this info in the Papyrus cookbook on the wiki?

 

Thanks,

Cheers… Séb.

 

------------------------------------------------------------------------------------------------------------------------------------------------

Sébastien Gérard

+33 (0)1 69 08 58 24 / +33(0)6 88 20 00 47

CEA Saclay Nano-INNOV

Institut CARNOT CEA LIST

DILS/Laboratoire d’Ingénierie dirigée par les modèles pour les Systèmes Embarqués (LISE),

Point Courrier n°174

91 191 Gif sur Yvette CEDEX

 

PapyrusLogo_SmallFormat www.eclipse.org/papyrus

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de DAUSSY Arthur
Envoyé : jeudi 8 décembre 2011 14:15
À : Papyrus Project list
Objet : [mdt-papyrus.dev] External label problem

 

Hi everybody,

 I’m sending this email in order to make you aware of a problem which has just been solved. It concerns all diagrams with edges containing externals labels.

 The problem correspond to the two followings bugs:

            https://bugs.eclipse.org/bugs/show_bug.cgi?id=354622

            https://bugs.eclipse.org/bugs/show_bug.cgi?id=363362

 This bug is due to a wrong implementation of WrappingLabel class. Indeed this class considers that she has to return true to containsPoint(x;y) even when this figure is invisible. The consequences are that requests targeting invisible externals labels are redirected to the Edge EditPart (for example when the mouse is over an invisible external label). To solve this problem, a new figure is available in org.eclipse.papyrus.diagram.common.figure.node.PapyrusWrappingLabel. I would recommend using this class for future external labels instead of org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel.

 

Regards


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.


Back to the top