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

Bug 357499

Summary: [Table] Consistency between the query canBePresentedInTheTable, the method TableInstanceCommandFactory.createAddRowsCommand and the Instantiation methods
Product: z_Archived Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: EMF-FacetAssignee: Project Inbox <emft.facet-inbox>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P5 CC: gdupe
Version: unspecifiedFlags: gdupe: juno+
gdupe: kepler+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vincent Lorenzo CLA 2011-09-13 10:16:47 EDT
Currently a query called canBePresentedInTheTable allows to restrict which elements can be dropped in the table.
Unfortunately, this query is not called when we use : 
	- TableInstanceCommandFactory.createAddRowsCommand
	- the instantiation methods
So we can create/add elements programmatically in the table even if they are forbidden.
Comment 1 Gregoire Dupe CLA 2011-09-13 13:10:31 EDT
A workaround exists : the method canBePresentedInTheTable can be called just before to call TableInstanceCommandFactory.createAddRowsCommand and the instantiation methods. This bug it then minor.

I suppose that the fix will change the API. That why I schedule the fix of this bug for the version 0.2.0. (=> P4)