Community
Participate
Working Groups
It should be interesting defining the compartments to show in the Papyrus Preferences. In this way, the created elements would have only the appropriate compartments. Moreover the user could display the hided compartments with the action Show/Hide Compartments. In order to do that, we need to modify the generation of the diagram. Its concerns the files ViewProvider.xpt and NodePreferencePage.xpt
Done in r2714 (Branch 0.7.x) for Class Diagram Profile Diagram Communication Diagram + generator and templates are modified
Sorry, done in r2715 for Communication Diagram
new version of org.eclipse.papyrus.preferences commited in r2722
Done in r2727 for the SysML Diagram blockDefinition, internalblock and requirement
Profile Diagram : minor change in r2758 : A compartment had a bad name...
Minor changes in r2827 (no necessary need to regenerate).
In r2842 Minor Changes : Improve the methods getImage() and getText() in EditorLabelProvider
The generation templates don't seem to work for PropertyPart in Composite.
The generation temples don't provide the expected behavior for ChildNodes (see nested Class in Composite).
I have found a problem in Composite Structure Diagram. Currently the template supposes that Top Level Node and Child Node have equivalent compartments, with the same Title. I see it's not the case in Composite Diagram : compartments for Child Node are suffixed with CN. For example, ClassCompositeCompartmentEditPartCN is named "ClassCompositeCompartmentCN" instead of "ClassCompositeCompartment", like ClassCompositeCompartmentEditPart
Minor change in r2886 I change the Generator to correct the bug in Composite Now we generate the preferences pages in this order: 1/ Child Nodes Label 2/ Others Child Nodes 3/ Top Level Nodes
In r2986 IBD Property - Part compartment initialized to visible in preferences.
This bug can be marked as closed fixed.