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

Bug 489301

Summary: Add support for explicit preconditions for elements of properties views definitions
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: PropertiesAssignee: Project Inbox <sirius.properties-inbox>
Status: CLOSED FIXED QA Contact: Julien Dupont <julien.dupont>
Severity: enhancement    
Priority: P3 CC: julien.dupont, stephane.begaudeau
Version: 3.1.0Keywords: triaged
Target Milestone: 4.1.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/69836
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3f658bca0ce42c2e2e9af205f74e3eede2b13c2f
Whiteboard:
Bug Depends on:    
Bug Blocks: 495366    

Description Pierre-Charles David CLA 2016-03-09 11:03:32 EST
All properties specification elements which have a semanticCandidatesExpression should have an explicit separate preconditionExpression.

This would allow for clear separation of context-dependant conditions like aql:input.context().representation.oclIsKindOf(diagram::DDiagram), instead of mixing these directly inside the semanticCandidatesExpression.
Comment 1 Eclipse Genie CLA 2016-04-04 10:49:48 EDT
New Gerrit change created: https://git.eclipse.org/r/69836
Comment 3 Stephane Begaudeau CLA 2016-07-04 12:01:55 EDT
The commit was merged on master
Comment 4 Pierre-Charles David CLA 2016-10-18 11:08:45 EDT
Available in Sirius 4.1.0, see https://wiki.eclipse.org/Sirius/4.1.0 for details.