Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346505

Summary: [PropertyView] EReference selection dialogs should use the service edit for filtering allowed types
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastien.gerard
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch (1/2)
none
Patch (2/2)
none
Integration of the previous patches in the current framework vincent.lorenzo: iplog+

Description Yann Tanguy CLA 2011-05-19 12:40:57 EDT
EReference selection dialogs should use the service edit for filtering allowed types.
Comment 1 Yann Tanguy CLA 2011-05-19 12:41:34 EDT
Created attachment 196136 [details]
Patch (1/2)
Comment 2 Yann Tanguy CLA 2011-05-19 12:42:24 EDT
Created attachment 196137 [details]
Patch (2/2)
Comment 3 Yann Tanguy CLA 2011-05-19 12:45:40 EDT
A possible implementation patch added (still requires clean up and testing).

To test :
- create a BDD with a Block
- add a FlowPort on the Block 
- try to set the type of the FlowPort

The dialog should only show allowed types (Signal, Block, FlowSpecification, DataType and ValueType) whereas using current implementation, every kind of UML Type is visible.
Comment 4 Camille Letavernier CLA 2011-05-23 08:18:52 EDT
Created attachment 196323 [details]
Integration of the previous patches in the current framework

This patch is an integration of the previous two patches from Yann Tanguy, in order to make the dialog compatible with the one from https://bugs.eclipse.org/bugs/show_bug.cgi?id=340430

The previous two patches are now deprecated.
Comment 5 Vincent Lorenzo CLA 2011-05-23 08:35:11 EDT
Here is a contribution from one employee of CEA. The company has signed a Member Commiter Agreement. 
I've committed this contribution.
Committed revision 4755.
Comment 6 Vincent Lorenzo CLA 2011-05-23 09:07:56 EDT
Comment on attachment 196323 [details]
Integration of the previous patches in the current framework

Here is a contribution from one employee of CEA. The company has signed a Member Commiter Agreement. 
I've committed this contribution.
Committed revision 4755.
Comment 7 Camille Letavernier CLA 2011-07-01 08:42:52 EDT
Done in Indigo