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

Bug 545441

Summary: DOT Editor - Add customized IQualifiedNameProvider
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.1.0 (2019-06)   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Tamas Miklossy CLA 2019-03-15 08:30:04 EDT
The default implementation of the org.eclipse.xtext.naming.IQualifiedNameProvider interface determines the name of an element by searching for a 'name' EAttribute with type 'EString'. In case of a Dot NodeId, a customization is needed, since its 'name' EAttribute has the type 'ID' instead of 'EString'.
Comment 1 Tamas Miklossy CLA 2019-03-15 08:39:06 EDT
I have just pushed the following changes to the master branch:

[#545441] Add customized DotQualifiedNameProvider to the DOT Editor.

- Implement cusstomized DotQualifiedNameProvider with the corresponding
binding into the DotRuntimeModule to customize the name calculation of
the DOT elements.
- Implement corresponding DotQualifiedNameProviderTests.
- Adapt the already exsisting DotMarkingOccurrencesTests test cases that
are affected by this change.
Comment 2 Tamas Miklossy CLA 2019-03-16 03:26:54 EDT
I resolve this issue as fixed in 5.1.0 (2019-06).