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

Bug 336048

Summary: [EMF Databinding] allow emf data model service to determine model type
Product: [Technology] XWT Reporter: Erdal Karaca <erdal.karaca.de>
Component: CoreAssignee: Project Inbox <e4.xwt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Implemented a heuristic method for model type determination none

Description Erdal Karaca CLA 2011-02-02 05:35:35 EST
I have a data binding as follows:

<TableViewerColumn width="150" text="Result Data"
							bindingPath="result" itemText="{Binding path=(a:Result.data)}" />
							
The Model is as follows:

ResultObject
+ result : Result (containment reference)

Result
+ data : double

As org.eclipse.e4.xwt.emf.EMFDataModelService.loadModelType(String) is not implemented, this binding will fail.
Comment 1 Erdal Karaca CLA 2011-02-02 05:38:04 EST
Created attachment 188121 [details]
Implemented a heuristic method for model type determination