Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330410 - Generalize swiching-panel to support switching based on boolean type or simple value list
Summary: Generalize swiching-panel to support switching based on boolean type or simpl...
Status: CLOSED DUPLICATE of bug 329063
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 17:05 EST by Danny Ju 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 Danny Ju CLA 2010-11-16 17:05:35 EST
Build Identifier: M20100909-0800

The switching-panel UI part currently supports two types of controllers:
enum value and list selection. 
In use cause where property is a simple boolean, or list of simple strings, 
Will be useful I can do sth like this without defining a new enum type?
> 
>              <switching-panel>
>                   <enum-controller>
>                    <property>Remote</property>
>                </enum-controller>
>                <panel>
>                  <key>Boolean.TRUE</key>
>                  <content>
>                    <separator>
>                      <label>Remote Details</label>
>                    </separator>
>                  </content>
>                </panel>
>                <panel>
>                  <key>Boolean.FALSE</key>
>                  <content>
>                    <separator>
>                      <label>Local Details</label>
>                    </separator>
>                  </content>
>                </panel>
>              </switching-panel>
> 


Reproducible: Always
Comment 1 Konstantin Komissarchik CLA 2010-11-16 20:02:05 EST

*** This bug has been marked as a duplicate of bug 329063 ***