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

Bug 483574

Summary: Add typed variable capability in variable filter
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: DiagramAssignee: Laurent Fasani <laurent.fasani>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: florian.barbin, pierre-charles.david, steve.monnier
Version: 3.1.0Keywords: triaged
Target Milestone: 3.1.3.100   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/62202
https://git.eclipse.org/r/63127
https://git.eclipse.org/r/63303
https://git.eclipse.org/r/63301
https://git.eclipse.org/r/63377
https://git.eclipse.org/r/63304
https://git.eclipse.org/r/63302
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ca04890237878ad4e771e2e7a7e25546b5b0b317
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=107d1d34cf878c2ccf04d10ca8cfe3e52a4820e1
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=23e0b5ce75162c20917f2453108b73e662efeca4
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ec09880f74a2fb0d9417c927ce083a33f84ae0b3
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e1935e63fe000a920deb6045753987da5d973671
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8891d9a1db67a98e507291a6f58be93d7d692443
https://git.eclipse.org/r/63830
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=01e69425dfef92bddf2b47813fa12558c9b46812
https://git.eclipse.org/r/69229
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=40a013bb7a9d9ec64fdd8506d49cc009d9d672a3
Whiteboard:
Bug Depends on:    
Bug Blocks: 486654    

Description Laurent Fasani CLA 2015-12-03 10:26:40 EST
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.
Comment 1 Eclipse Genie CLA 2015-12-08 07:46:25 EST
New Gerrit change created: https://git.eclipse.org/r/62202
Comment 2 Eclipse Genie CLA 2015-12-22 04:13:51 EST
New Gerrit change created: https://git.eclipse.org/r/63127
Comment 3 Eclipse Genie CLA 2015-12-30 09:04:38 EST
New Gerrit change created: https://git.eclipse.org/r/63377
Comment 4 Laurent Fasani CLA 2016-01-04 07:53:20 EST
basic 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 11 Laurent Fasani CLA 2016-01-25 08:59:47 EST
Functionality is fully implemented with junit test
Comment 13 Florian Barbin CLA 2016-01-28 06:02:59 EST
Verified on Sirius 3.1.3.201601261803-100
Comment 14 Eclipse Genie CLA 2016-03-24 06:42:33 EDT
New Gerrit change created: https://git.eclipse.org/r/69229