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

Bug 370796

Summary: MEDoubleControl does not check if EAttribute isMany()
Product: [Modeling] EMFStore Reporter: Max Hohenegger <eclipse>
Component: ClientcoreAssignee: Project Inbox <emfstore.clientcore-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.8.9.M921   
Hardware: All   
OS: All   
Whiteboard:

Description Max Hohenegger CLA 2012-02-07 04:34:07 EST
This leads to ClassCastExceptions upon opening a responsible control, if an EAttribute is in fact a list of EDouble instead of a single one.
Comment 1 Max Hohenegger CLA 2012-02-07 04:39:13 EST
I added a check for isMany() in org.eclipse.emf.ecp.editor.mecontrols.MEDoubleControl.canRender(IItemPropertyDescriptor, EObject) in addition to the EType check.