| Summary: | [Java] Allow navigating from model element to the Java editor | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Fabien Giquel <fabien.giquel> | ||||||
| Component: | Technologies | Assignee: | Fabien Giquel <fabien.giquel> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | hugo.bruneliere, modisco.web-inbox, nicolas.guyomar | ||||||
| Version: | 0.9.0 | Flags: | fabien.giquel:
indigo+
|
||||||
| Target Milestone: | 0.9.0 M3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 329038, 329040 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Fabien Giquel
Hi Fabien, Following contribution in bug 329038, here is the contribution for Java Code Synchronization. The attached plugin declares 2 strategies according to the MoDisco Source Code Synchronization API Thanks to this plugin it is now possible to navigate from a model element contained in a Java Composition Model to its source code in Java editor (a) I, Nicolas Guyomar, wrote 100% of the code of the contribution (b) I have the right to contribute the code to Eclipse (c) I want to contribute this code under EPL Regards Nicolas Guyomar Created attachment 182047 [details]
org.eclipse.modisco.java.composition.ui
This plugin declares :
- A SourceStrategy extension to resolve ASTNodeSourceRegion of a Java Composition Element
- A RevealingStrategy extension to open the java editor and select the element directly in its source code
Created attachment 182359 [details] org.eclipse.modisco.java.composition.ui new project for model->code navigation Updated project according to comments in bug 329038 Thank you Nicolas. Here is a contribution from an employee of Mia-Software, targeting future Indigo release. The company has signed a Member Commiter Agreement. The bug does not need a CQ (see bug 322327). Contributions have been commited into SVN (revisions 3574). Contribution successfully integrated. |