Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325446 - [Activity Diagram] [Preferences] Regenerate Activity Diagram to add the Compartments Preferences
Summary: [Activity Diagram] [Preferences] Regenerate Activity Diagram to add the Compa...
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 325419
  Show dependency tree
 
Reported: 2010-09-16 08:16 EDT by Vincent Lorenzo CLA
Modified: 2013-03-13 09:40 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2010-09-16 08:16:51 EDT
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 Activity Diagram don't have this behavior (bug 320364)

You need to update the plugins org.eclipse.papyrus.codegen and org.eclipse.papyrus.def before regenerating your diagram.
Comment 1 Vincent Lorenzo CLA 2011-04-20 03:08:30 EDT
Hi Patrick, 
	do you confirm that I can close this bug?

Regards, 
-- 
Vincent Lorenzo
Comment 2 Vincent Lorenzo CLA 2013-03-13 09:40:13 EDT
I close this bug.This bug can be marked as closed fixed.