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

Bug 341841

Summary: [generator] generate empty value converter service into src
Product: [Modeling] TMF Reporter: Knut Wannheden <knut.wannheden>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Knut Wannheden CLA 2011-04-04 16:45:28 EDT
The value converter service is probably one of the first services a developer ends up overriding in the runtime module. Therefore (and to get the singleton binding right) I think it would make sense and be quite convenient for the user if the generator would generate an empty class into the 'src' source folder extending the default DefaultTerminalConverters. The developer would then only have to add converter methods for the rules.
Comment 1 Sven Efftinge CLA 2012-11-21 03:21:59 EST
I don't like to have that many stubs in the beginning. If you want to use a different return type, it's nicely documented how to it and how to do the value conversion. I think that's appropriate.