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

Bug 329059

Summary: [Composite Structure Diagram] EMF Validation integration in Composite Structure Diagram
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 0.7.1   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 313986    

Description Yann Tanguy CLA 2010-10-29 12:01:26 EDT
Model regeneration required to complete EMF Validation integration in Composite Structure Diagram.

---------------------------------

Dear all,

I added the following properties to all diagrams:
 - validationEnabled="true"
 - liveValidationUIFeedback="true"
 - validationDecorators="true"
In addition I added the ValidateDecorationProvider.xpt to org.eclipse.papyrus.def: the original template only checked for GMF markers. Now EMF+GMF markers are verified (the former on the .uml resource, the latter on the .notation resource).

Can each person responsible for a certain diagram please regenerate and check if everything is ok? (I tested class and composite). I prefer not to regenerate and check-in the generated files myself to avoid check-in conflicts (manifest.mf and plugins.xml are modified by the diagram generation).

You also need to update the model explorer, since I no longer add markers to the .di file, they are now added to the .uml file. This implies that a double-click on a marker will currently open the UML tree editor, but this problem will vanish, once we register Papyrus as a .uml editor as well.

Best regards

Ansgar
Comment 1 Yann Tanguy CLA 2010-10-29 12:26:37 EDT
Done in r3082.
Comment 2 Yann Tanguy CLA 2010-11-03 06:43:09 EDT
In r3100 - Code regenerated taking into account template changes from :
- r3090
- r3085
Comment 3 Yann Tanguy CLA 2010-11-03 11:00:25 EDT
In r3108 ? Code regenerated taking into account template changes from :
- r3102
Comment 4 Yann Tanguy CLA 2010-11-06 11:21:02 EDT
In r3136 Code regenerated taking into account template changes from :
- r3134
Comment 5 Yann Tanguy CLA 2011-05-30 03:00:14 EDT
Done.