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

Bug 329097

Summary: Support model elements without a resource
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ling.hao
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2010-10-29 15:42:32 EDT
In some cases, a model element does not need to be persisted. It could be transient in nature, for instance used to back a dialog or a wizard. We need to support easily creating model elements that do not have a backing resource or a resource store.
Comment 1 Konstantin Komissarchik CLA 2010-11-01 19:49:19 EDT
I took the approach of supplying an in-memory resource implementation when a resource is not provided at element creation. This resulted in less complexity than supporting operation completely without a resource.
Comment 2 Konstantin Komissarchik CLA 2010-11-16 12:19:36 EST
Marking as fixed.
Comment 3 Ling Hao CLA 2011-01-03 17:51:32 EST
Verified with send contacts sample.