Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349797 - [Table] NatTableWidget.usesTmpResource() has to be added to the API.
Summary: [Table] NatTableWidget.usesTmpResource() has to be added to the API.
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P5 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 06:02 EDT by Gregoire Dupe CLA
Modified: 2020-05-01 11:27 EDT (History)
0 users

See Also:
gdupe: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregoire Dupe CLA 2011-06-20 06:02:36 EDT
The method org.eclipse.emf.facet.widgets.nattable.internal.NatTableWidget.usesTmpResource() has to be added to the API in the version 0.2.0.
Comment 1 Gregoire Dupe CLA 2011-06-20 08:34:48 EDT
To be able to deal with events, the class NatTableWidget needs a TableInstance contained in a resource. I’m not so sure that the class NatTableWidget has to instantiate a temporary resource. The NatTableWidget may have to require a TableInstance contained in a resource.

Rather than to provide the method usesTmpResource, we may have to add a constraint on the parameter tableInstanceParam of org.eclipse.emf.facet.widgets.nattable.internal.NatTableWidget.NatTableWidget(Composite, IEditingDomainProvider, TableInstance, MenuManager).

This would imply that the temporary resource will be created and managed by the Widget user (NatTableEditor for instance)