Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333118 - Sample needed for storing custom types in value properties
Summary: Sample needed for storing custom types in value properties
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2010-12-22 16:39 EST by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Komissarchik CLA 2010-12-22 16:39:28 EST
A request was made on the Sapphire forum to show how to use custom types in value properties.

http://www.eclipse.org/forums/index.php?t=msg&th=202129&start=0&S=f3ca5d69fbf0e6143713e109046082bb
Comment 1 Konstantin Komissarchik CLA 2011-01-04 15:18:51 EST
Added this scenario to the sapphire gallery sample (under Values->Custom).

In source, see...

org.eclipse.sapphire.samples.gallery.Circle
org.eclipse.sapphire.samples.gallery.Rectangle
org.eclipse.sapphire.samples.gallery.ICustomValueGallery
org.eclipse.sapphire.samples.gallery.internal.CircleSerializationService
org.eclipse.sapphire.samples.gallery.internal.RectangleSerializationService
META-INF/sapphire-extension.xml

At runtime...

1. Run with Sapphire samples.
2. Create sapphire-gallery.xml file in any project.
3. Go to Values-Custom in the editor's outline.
Comment 2 Ling Hao CLA 2011-01-05 18:55:50 EST
Verified.