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

Bug 368201

Summary: Non-feature label edit parts should have user-readable names
Product: [Modeling] GMF-Tooling Reporter: Michael Golubev <borlander>
Component: Generation / TemplatesAssignee: Svyatoslav Kovalsky <kovalsky>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: borlander
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Golubev CLA 2012-01-09 17:26:00 EST
Actually for every non-feature based label mapping (that is, for design labels, for labels with externally provided parser and for expression labels) the bridge chooses the EditPart class name based on the FQN of underlying figure. 

The user input (neither in Map nor in Graph models) is not used at all for this naming. 

It leads to the generation of the classes like WrappingLabelEditPart, WrappingLabel2EditPart, WrappingLabel3EditPart and so on. 

Those classes are very difficult to distinguish, e.g during debugging.

=>

It would be much better if the bridge created the user readable class names, based on the user input, e.g, on the names of the DiagramLabel's in the grpah model