Community
Participate
Working Groups
According with the bug 325419, the templates have been modified. Now we can define the visibility of the compartments in the Papyrus preferences. With these new preferences, all Nodes which have compartments must have the following Custom Behavior : key : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY class : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy The concerned nodes must provide this behavior, because if a compartment is hided in the preferences, its will be not possible to show it later. Nodes with compartments in StateMachine Diagram don't have this behavior (bug 320360). You need to update the plugins org.eclipse.papyrus.codegen and org.eclipse.papyrus.def before regenerating your diagram.
Done