Community
Participate
Working Groups
According with the bug 333987, the templates have been modified. Now we can define the visibility of the labels in the Papyrus preferences. With these new preferences, all Elements which have External Node Labels or Link Labels must have the following Custom Behavior : key : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideLabelEditPolicy.SHOW_HIDE_LABEL_ROLE class :org.eclipse.papyrus.diagram.common.editpolicies.ShowHideLabelEditPolicy WARNING : for the links, often you have nothing to do, because the super class UMLConnectionNodeEditPart provides this EditPolicy. You need to update the plugins org.eclipse.papyrus.def and org.eclipse.papyrus.gmfgenextension and oep.diagram.commin before regenerating your diagram.
Done for ClassDiagram in R4508
I think this is not yet the case for all diagrams/labels. Many errors occur when deleting a DecorationNode from the notation model (i.e. When "Hide" a label means "delete" instead of "setVisible = false"). Raise the severity to Major ; this must be done for 1.0.0 / Luna
test has been added class diagram has been regenerated commit 8dc03ad834c57002c69ad005f0aa565f04ac67a3
no need to regenerate activity
component regenerated commit 55f59abfdd523e1b3cbd66cb2400300a72d75fac two links do not have this behavior
Bugs fixed and test added