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

Bug 343678

Summary: Need combo box presentation for the with directive
Product: z_Archived Reporter: Ling Hao <ling.hao>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: konstantin
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ling Hao CLA 2011-04-22 21:05:34 EDT
An example element property can be found in IContact's PrimaryOccupation.
Comment 1 Konstantin Komissarchik CLA 2011-04-25 15:52:40 EDT
To clarify, is this for the scenario where the number of possible types is large?
Comment 2 Ling Hao CLA 2011-04-25 17:19:14 EDT
Yes, that's right.
Comment 3 Konstantin Komissarchik CLA 2011-04-25 18:19:32 EDT
Enhancement implemented. Please verify.

The drop down list presentation kicks in if the number of possible types is more than three. The hint for selecting between presentation styles is called "style" and has values "checkbox", "radio.buttons" and "drop.down.list". The sdef editor will help with writing this hint.

Added content to the 0.3 release what's new document.
Comment 4 Konstantin Komissarchik CLA 2011-04-25 18:20:00 EDT
Done.
Comment 5 Ling Hao CLA 2011-04-26 14:51:32 EDT
Fix typo in SapphireWithDirective.java line 210. 

Verify drop down list shown for 5 possible types. 
Verify radio button shown for 2 possible types
Verify style hint
Comment 6 Konstantin Komissarchik CLA 2011-04-26 14:56:25 EDT
Thanks for fixing the typo!