Community
Participate
Working Groups
When editing an interpreted expression which invokes a Java service, it should be possible to navigate directly to the service implementation(s) using a simple key binding and/or menu action. This should work at least for service: invocation. For the other languages which embed service calls possibly deep inside complex expressions, we would probably need to add new APIs. Ideally, when I have the cursor inside an interpreted expression of the form "service:myServiceCall", hitting F3 should open the Java editor on the source of the myServiceCall method. Some open questions: * service calls support polymorphism, so there is not always *one* unambiguous Java method to go to. * the source of the service method may not be available. Some JDT methods that can be useful entry points: * JavaCore.createCompilationUnitFrom(IFile) * ICompilationUnit.getPrimary() * IType.getMethods() * IEditorPart org.eclipse.jdt.ui.JavaUI.openInEditor(IJavaElement element) Basically, from an IFile representing a Java source file in the workspace, chaining these can be used to open a Java editor on a specific method in that file.
New Gerrit change created: https://git.eclipse.org/r/52797
New Gerrit change created: https://git.eclipse.org/r/52846
Moving out of the 4.0 scope for now, along with all the other issues which were there "by default". This does not mean some of these will not be re-integrated at some point, but for now these issues are not part of the roadmap for 4.0. If you feel strongly about this removal from 4.0 and/or are ready to sponsor the corresponding work, feel free to comment.
New Gerrit change created: https://git.eclipse.org/r/113426
Gerrit change https://git.eclipse.org/r/113426 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7020d739907f91945c4fd8537938d61777480192
The feature itself is merged, with automated tests. What remains before we can close this: * add release notes & proper documentation; * add validation tests in the ticket itself.
New Gerrit change created: https://git.eclipse.org/r/116096
New Gerrit change created: https://git.eclipse.org/r/116117
New Gerrit change created: https://git.eclipse.org/r/116241
Gerrit change https://git.eclipse.org/r/116241 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=38b64d8ada8aac566847ce67c2818e0af471832e
Gerrit change https://git.eclipse.org/r/116117 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=627b435006fc5793783233f2f1a419dc5c86599d
Fixed, and available in Sirius 6.0M5.
New Gerrit change created: https://git.eclipse.org/r/117139
Gerrit change https://git.eclipse.org/r/117139 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=65b2a37184b2d5060bf853a655c9e0a5afcaa390
The documentation does not mention that the feature works only with aql or service:
Created attachment 274176 [details] Use case
With the attached project: * open the ecore.odesign * Select the Bi-directional EC_Reference edge mapping (Design > Entities > Default) * Click on getEOppositeEReferences in the Semantic Candidates Expression * Press F3 -> it should navigate toward the service method in the Java Class.
New Gerrit change created: https://git.eclipse.org/r/123470
@Florian, the functionality works only for service: and aql: Documentation has been updated.
Gerrit change https://git.eclipse.org/r/123470 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8c8830b0cf085dfabcff4310c6790ca7ec74f021
Fixed by 8c8830b0cf085dfabcff4310c6790ca7ec74f021.
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details