Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #530431 +++ Some services can be defined several times in different modeler defined with Sirius. To avoid them, it could be interesting to have a standard diagram services class, as it is the case for Sirius Core (org.eclipse.sirius.common.tools.api.interpreter.StandardServices). In a first time, this class could contain services to retreive DDiagramElement according to: * the type of the current selected elements * the mapping of the current selected elements * a selected type by the end-user * an expression given by the end-user
New Gerrit change created: https://git.eclipse.org/r/121276
Gerrit change https://git.eclipse.org/r/121276 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=d94a1be54f6cbadd03a69b1dc9e2106057a1f2c2
New Gerrit change created: https://git.eclipse.org/r/121883
Gerrit change https://git.eclipse.org/r/121883 was merged to [v5.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e47eac72dda908366c975611f2e90f345d03d6d8
Currently, the work on this POC is interrupted. The first iteration is considered as ended.
To finalize the POC, it would be interesting to handle the below points: * Currently, the service stdGetViewsRepresentingSelectedType returns the list of DSemanticDecorator in the current diagram representing semantic element having the EType provided by the end-user through a dialog box. But the field in the dialog box has not completion. It is a simple text field. * It would be useful to have a completion about all ETypes of the meta-model known by the current diagram. * Currently, the service stdGetViewsOfExpression returns the list of DSemanticDecorator corresponding to the evaluation of an expression written by the end-user in a dialog box.But the field in the dialog box has not completion, neither validation. It is a simple text field. * It would be useful to have a completion and validation as if the end-user uses the Interpreter view. * It would be also useful to add several variables (diagram for the current diagram, selectedViews for all the selected views, ...)
Another issue will be created to continue the work on this subject. So I close this issue as resolved.
There is no real validation as it is a POC.
Available in Sirius 5.1.2, see https://wiki.eclipse.org/Sirius/5.1.2 for details