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

Bug 490384

Summary: Have a "reset to default filters" action in tabbar
Product: [Modeling] Sirius Reporter: Esteban DUGUEPEROUX <esteban.dugueperoux>
Component: DiagramAssignee: Esteban DUGUEPEROUX <esteban.dugueperoux>
Status: CLOSED FIXED QA Contact: Florian Barbin <florian.barbin>
Severity: enhancement    
Priority: P3 CC: florian.barbin, laurent.redor
Version: 3.1.0Keywords: triaged
Target Milestone: 4.0.0M7   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/69307
https://git.eclipse.org/r/64335
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1ef19426604aef40f86f7ca96a9f0c614ffcdbc3
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=fb6ea09f97dc0da28e8f7fbcf5b075f05fbbe9f4
Whiteboard:
Attachments:
Description Flags
Sample project to validate none

Description Esteban DUGUEPEROUX CLA 2016-03-24 12:05:02 EDT
This bugzilla is here to have a new action in tabbar to reset diagram to its default filters.
Default filters are filters provided by the default concern when there is a default concern specified in corresponding diagram description.
If there is not default concern this action will not appears.
Comment 1 Eclipse Genie CLA 2016-03-25 04:35:31 EDT
New Gerrit change created: https://git.eclipse.org/r/69307
Comment 3 Esteban DUGUEPEROUX CLA 2016-04-08 10:29:27 EDT
Created attachment 260808 [details]
Sample project to validate

Scenario to validate:

1. Import the attached project
2. Create a "new Bug490384_DiagWithConcern" diagram and check that "Reset to default filters" action is here in the tabbar in filter drop down button, but disabled
3. Enable a layer, now the "Reset to default filters" action should be enabled and using it should set filters in same state as at diagram creation
4. Create a "new Bug490384_DiagWithoutConcern" diagram and check that "Reset to default filters" action is not there.
Comment 5 Florian Barbin CLA 2016-05-24 10:52:20 EDT
Verified on Sirius 4.0.0.RC1
Comment 6 Pierre-Charles David CLA 2016-06-24 08:02:30 EDT
Available in Sirius 4.0.0.