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

Bug 323165

Summary: Java and Kdm Inventory Model : facets for bidirectional navigation
Product: [Modeling] MoDisco Reporter: Fabien Giquel <fabien.giquel>
Component: TechnologiesAssignee: Fabien Giquel <fabien.giquel>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.guyomar
Version: 0.9.0Flags: fabien.giquel: indigo+
Target Milestone: 0.9.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to add links between java and kdm source model fabien.giquel: iplog+

Description Fabien Giquel CLA 2010-08-19 11:49:12 EDT
This is a wishable feature related to recent bug 322327 contribution. 
The composite metamodel should be completed with facets allowing navigation from java and kdm.source elements (e.g. from a Java element a link should appear to navigate to the associated SourceRegion).
Comment 1 Nicolas Guyomar CLA 2010-08-19 12:30:00 EDT
Created attachment 177023 [details]
Patch to add links between java and kdm source model

Hi,

Please find attached a patch with 2 facets addind a link to directly navigate from an AST to its javaNodeSourceRegion as well as links to navigate between a SourceFile and its CompilationUnit

Regards

Nicolas
Comment 2 Nicolas Guyomar CLA 2010-08-20 05:38:57 EDT
Hi,

1. I, Nicolas Guyomar, and others contributors listed in this bug, authored
100% of the content
2. I have the rights to donate the content to Eclipse under the EPL
3. I have already provided the filled Employer Consent Forms to the Foundation

Regards

Nicolas
Comment 3 Fabien Giquel CLA 2010-08-20 05:47:32 EDT
Thanks for the contribution.
I has been commited into SVN.
Comment 4 Hugo Bruneliere CLA 2010-10-05 04:49:39 EDT
The patch has been successfully applied.