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

Bug 563693

Summary: DOT Editor - Add CodeMining support based on the Xtext API
Product: [Tools] GEF Reporter: Tamas Miklossy <miklossy>
Component: GEF DOTAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.3.2 (2020-12)   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Tamas Miklossy CLA 2020-05-29 02:30:49 EDT
The Xtext framework (2.14.0 and above) provides a new CodeMining API. This support should also be added to the GEF DOT Editor as well (e.g. displaying the number of nodes and edges in the graph definition), since it is based on Xtext 2.17.0.

See also the following blog posts about this topic:
- https://blogs.itemis.com/en/code-mining-support-in-xtext
Comment 1 Tamas Miklossy CLA 2020-10-24 05:46:35 EDT
I pushed the following changes to the master branch:

[563693] DOT Editor - Add CodeMining support based on the Xtext API.

- Configure the GenerateDot.mwe2 workflow to generate the Xtext
CodeMining infrastructure.
- Provide the corresponding implementation in the generated
DotCodeMiningProvider class to displaying the number of nodes and edges
before the graph definition as line header code minings.
- Implement corresponding DotCodeMiningTest test cases.	

Resolving as fixed in 5.3.2 (2020-12).