Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321874 - [Composite Structure Diagram] Show/Hide Related Ports/Properties action should be done with an EditPolicy
Summary: [Composite Structure Diagram] Show/Hide Related Ports/Properties action shoul...
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: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 307318
  Show dependency tree
 
Reported: 2010-08-05 09:48 EDT by Vincent Lorenzo CLA
Modified: 2011-04-28 05:10 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-08-05 09:48:51 EDT
Currently, the Show/Hide Related Ports/Properties action works without use the EditPolicy mechanism.
We should try to inherit from the Show/Hide Contents action to provide the Show/Hide Related Ports/Properties in the Composite Structure Diagram.
Comment 1 Yann Tanguy CLA 2010-08-16 07:30:54 EDT
Moreover, Show/Hide Related Ports/Properties action & Show/Hide Contents should be merged (1 button Show/Hide related elements).

Having both buttons is confusing (e.g. Composite Class) and have different behavior where the result should be the same:
- Show/Hide related Port -> refresh the figure even if the selection has not changed
- Show/Hide related Port -> always mask possibly shown nested classifiers
Comment 2 Vincent Lorenzo CLA 2010-08-25 03:27:42 EDT
Done in r2592 for Branch 0.7.x
Comment 3 Vincent Lorenzo CLA 2010-08-25 03:38:39 EDT
Done in r2593 for the head Branch
Comment 4 Vincent Lorenzo CLA 2010-11-25 04:24:31 EST
2 problems with this action : 
	- The merged with Show/Hide contents is not yet done 
	- The status of the action is not refreshed in the menu Diagram.
Comment 5 Vincent Lorenzo CLA 2010-11-25 05:27:03 EST
R3326 corrects these 2 problems
Comment 6 Yann Tanguy CLA 2011-04-28 05:10:51 EDT
Fixed.