Bug 534302 - Add capability to define new kind of "Select All" actions
Summary: Add capability to define new kind of "Select All" actions
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 5.1.0   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: 6.1.0   Edit
Assignee: Project Inbox CLA
QA Contact: Laurent Redor CLA
URL:
Whiteboard:
Keywords: triaged
Depends on: 529992 533318 533654 534301
Blocks:
  Show dependency tree
 
Reported: 2018-05-03 06:13 EDT by Laurent Redor CLA
Modified: 2018-10-19 12:48 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Redor CLA 2018-05-03 06:13:06 EDT
+++ This bug was initially created as a clone of Bug #533654 +++

The goal of this issue is to allow specifier to define new kind of "Select All" actions such as:
* All elements with same mapping: Select all diagram elements that have the same mapping than the current selected diagram element
* All elements of same type: Select all diagram elements that have a semantic target with the same type than the current selected diagram element
* All elements of type...: Select all diagram elements that have a semantic target with the type chosen by the end-user
* All elements corresponding to expression...: Select all diagram elements returned by an expression written by the end-user
* All "specified elements in odesign" : Select all diagram elements corresponding to a specific request defined by the specifier

These actions need to be available in the contextual menu and in the tabbar.

This enhancement depends on other enhancements:
* bug 529992: Improve Sirius Popup Menu contributions
* bug 533318: Add standard diagram services to avoid duplicated code

It will probably not modify the code but only give an example to exploit what will be done in the other issues.
Comment 1 Pierre-Charles David CLA 2018-09-23 08:54:34 EDT
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=533654#c1 from the original ticket for the steps to test and the sample data to use.
Comment 2 Laurent Redor CLA 2018-09-26 06:16:46 EDT
This POC has been completed with a new issue (bug 535861). It will be indirectly validated by this new issue.
Comment 3 Pierre-Charles David CLA 2018-10-19 12:48:05 EDT
Available in Sirius 6.1.0, see https://wiki.eclipse.org/Sirius/6.1.0