| Summary: | [All Diagrams] Can't change what parts of a label are to be displayed | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Alain Le Guennec <alain.leguennec> |
| Component: | Diagram | Assignee: | Project Inbox <mdt-papyrus-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cletavernier, eclipse-bugzilla, raphael.faudou, yann.tanguy |
| Version: | 0.10.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 364009, 364010 | ||
| Bug Blocks: | |||
|
Description
Alain Le Guennec
Possible in preference, the property page allowing this is not implemented yet for IBD and BDD. In order to be edited from the property page, the elements need to have the right Edit Policy. In this case, the edit policy is "MaskManagedLabelPolicy", provided by the inherited Class Diagram. Until the properties (and operations) from IBD and BDD implement this edit policy, it won't be possible to edit the label display from the property page. Fixed in r5346 (0.8.1) and r5347 (trunk) - See: 355943: [SysML Internal Block Diagram] Can't change what parts of a part label are to be displayed for a part on an IBD https://bugs.eclipse.org/bugs/show_bug.cgi?id=355943 and 356276: [Property View] The label masks in appearance view should use IMaskManageLabelEditPolicy#getMasks() https://bugs.eclipse.org/bugs/show_bug.cgi?id=356276 *** Bug 348655 has been marked as a duplicate of this bug. *** what about other diagrams than BDD and IBD? in stateMachine for isntance, it is not possible to hide the guard of a transition. For consistency, can you apply one of the following options? * Either reOpen this bug as some other diagrams are not handled * Else change label to address only BDD and IBD. Clones added for IBD & BDD, general bug reopened. > in stateMachine for isntance, it is not possible to hide the guard of a transition.
The case is different for state machines, as the guard of the transition is a distinct label (Different from the transition's name). It can be hidden with Filters > Manager connector labels
I close this task. Each Edit Part needs to implement the IMaskManagedEditPolicy, when this is relevant. Then the properties view will work just fine. Specific bugs may be opened for relevant cases
|