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

Bug 328662

Summary: Support transient properties
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-25 18:08:22 EDT
In some situations it is necessary to be able to stash an arbitrary object
into a property. It could be awkward or difficult to implement string
serialization necessary to do this via a value property.

This comes up in particular when using Sapphire to model an operation or a
small panel inside larger UI. It is frequently necessary in these contexts to
give the model access to some non-serializable objects to provide context.

Sapphire should support a concept of a transient property that can hold an
arbitrary object. Transient properties still need to support change events,
but outside of that no higher-order behaviors would be provided. We would not
support rendering of transient properties in UI. Transient properties would
not interact with the resource (the model element's storage system).
Comment 1 Konstantin Komissarchik CLA 2010-10-28 20:30:58 EDT
Enhancement implemented. Details available in the what's new document for 0.2 release.
Comment 2 Konstantin Komissarchik CLA 2010-11-16 12:15:56 EST
Enhancement implemented.
Comment 3 Ling Hao CLA 2010-12-15 17:47:59 EST
Verified transient in sample.