Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330995 - [Profile Diagram] Add the custom Behavior Show/Hide Contents for the Stereotype
Summary: [Profile Diagram] Add the custom Behavior Show/Hide Contents for the Stereotype
Status: RESOLVED 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: 0.7.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 319238
  Show dependency tree
 
Reported: 2010-11-24 03:34 EST by Vincent Lorenzo CLA
Modified: 2010-11-24 03:36 EST (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-11-24 03:34:26 EST
The EditParts that represent UML Classifier (here Stereotype) and which have compartments should have the following EditPolicy : 
EditPolicy : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy
key : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy.SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY

This action allows Show/Hide easily members and inherited members for the classifiers.
This action is available in the Filter Menu and in the ToolBar (the fantom icon!), or with the key F4 (Show/Hide Contents)
Comment 1 Vincent Lorenzo CLA 2010-11-24 03:36:41 EST
Done in r3299.