Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[EWL] combo box for User Input
https://www.eclipse.org/forums/index.php/mv/msg/200871/641360/#msg_641360
I am writing a wizard, where I want to have user input as combo box. Do we have anything like that. I tried
var list : List;
list.add('target1');
list.add('target2');
list.add('target3');
var target := UserInput.choose('Select target', list, 'target2');
but this is giving me result as selector and not combobox. I which i want to show 'target2' as by default value.
Please suggest .
Regards,
-AG]]>Abhijit Gurav2010-11-25T08:10:44-00:00Re: [EWL] combo box for User Input
https://www.eclipse.org/forums/index.php/mv/msg/200871/641398/#msg_641398
There's nothing like that available out-of-the-box I'm afraid. However,
you can define custom dialogs using Java and then invoke them from EWL
(see http://www.eclipse.org/gmt/epsilon/doc/articles/call-java-fr om-epsilon/
for details).
Cheers,
Dimitris
Abhijit Gurav wrote:
> Hi All,
>
> I am writing a wizard, where I want to have user input as combo box. Do
> we have anything like that. I tried
>
>
> var list : List;
>
> list.add('target1');
> list.add('target2');
> list.add('target3');
>
> var target := UserInput.choose('Select target', list, 'target2');
>
>
>
> but this is giving me result as selector and not combobox. I which i
> want to show 'target2' as by default value.
>
> Please suggest .
>
> Regards,
> -AG]]>Dimitrios Kolovos2010-11-25T10:47:31-00:00Re: [EWL] combo box for User Input
https://www.eclipse.org/forums/index.php/mv/msg/200871/641414/#msg_641414
Thanks for reply and direction. I will investigate in the same way.