Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343678 - Need combo box presentation for the with directive
Summary: Need combo box presentation for the with directive
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: 2011-04-22 21:05 EDT by Ling Hao CLA
Modified: 2021-11-19 09:22 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 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!