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

Bug 486654

Summary: Add typed variable capability in variable filter
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: CLOSED FIXED QA Contact: Florian Barbin <florian.barbin>
Severity: normal    
Priority: P3 CC: florian.barbin, pierre-charles.david, steve.monnier
Version: 3.1.0Keywords: triaged
Target Milestone: 4.0.0M5   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/65289
https://git.eclipse.org/r/65287
https://git.eclipse.org/r/65286
https://git.eclipse.org/r/65290
https://git.eclipse.org/r/65291
https://git.eclipse.org/r/65288
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=11a735da36dbc7b24fc5ded1150c8caaca287f57
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=6710e636d2a6293d3e20a025962b627666fbe221
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4b9a851c65dc3782693c9a11786c5d87844f6ae6
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=5cd915d9e91c8d17245c85be933259df2a1cfbbc
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=03e80e537b0e820bd3e0aa81417bd44772f44d2e
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=88cac8ac10b0d88b0fccd785b49be8152be64ac2
https://git.eclipse.org/r/66365
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7385dbd097916fb48f32f30626d1b0a20d46dc42
Whiteboard:
Bug Depends on: 483574    
Bug Blocks:    

Description Laurent Fasani CLA 2016-01-27 10:11:52 EST
+++ This bug was initially created as a clone of Bug #483574 +++

This functionality allows the user, when he applies a filter on a diagram, to enter a string value as string variable filter.

This variable can then be used in condition expression to answer if an element in a diagram is candidates to be filtered.


acceptance scenario

In VSM
* create a diagram rep description with some mappings
* add ecore MM as diagram meta-models
* create a variable Filter
* add a typed variable. name:myVariable type:EString
* set the interpreted expression for variable filter so that the typed variable is used. Ex: aql:self.name.contains(myVariable)

In modeling project:
* create a diagram
* apply filter and check it is working
Comment 1 Eclipse Genie CLA 2016-01-27 11:04:05 EST
New Gerrit change created: https://git.eclipse.org/r/65289
Comment 2 Eclipse Genie CLA 2016-01-27 11:04:08 EST
New Gerrit change created: https://git.eclipse.org/r/65287
Comment 3 Eclipse Genie CLA 2016-01-27 11:04:10 EST
New Gerrit change created: https://git.eclipse.org/r/65286
Comment 4 Eclipse Genie CLA 2016-01-27 11:04:12 EST
New Gerrit change created: https://git.eclipse.org/r/65290
Comment 5 Eclipse Genie CLA 2016-01-27 11:04:14 EST
New Gerrit change created: https://git.eclipse.org/r/65291
Comment 6 Eclipse Genie CLA 2016-01-27 11:04:26 EST
New Gerrit change created: https://git.eclipse.org/r/65288
Comment 13 Eclipse Genie CLA 2016-02-11 04:37:04 EST
New Gerrit change created: https://git.eclipse.org/r/66365
Comment 15 Florian Barbin CLA 2016-05-24 05:27:03 EDT
Verified on Sirius 4.0.0.RC1
Comment 16 Pierre-Charles David CLA 2016-06-24 08:03:55 EDT
Available in Sirius 4.0.0.