Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370796 - MEDoubleControl does not check if EAttribute isMany()
Summary: MEDoubleControl does not check if EAttribute isMany()
Status: RESOLVED FIXED
Alias: None
Product: EMFStore
Classification: Modeling
Component: Clientcore (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.8.9.M921   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 04:34 EST by Max Hohenegger CLA
Modified: 2012-02-07 04:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.