Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EWL] combo box for User Input
[EWL] combo box for User Input [message #641360] Thu, 25 November 2010 08:10 Go to next message
Abhijit Gurav is currently offline Abhijit GuravFriend
Messages: 25
Registered: November 2010
Junior Member
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
Re: [EWL] combo box for User Input [message #641398 is a reply to message #641360] Thu, 25 November 2010 10:47 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

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
Re: [EWL] combo box for User Input [message #641414 is a reply to message #641398] Thu, 25 November 2010 11:25 Go to previous message
Abhijit Gurav is currently offline Abhijit GuravFriend
Messages: 25
Registered: November 2010
Junior Member
Hi Dimitris,

Thanks for reply and direction. I will investigate in the same way.

Regards,
-AG
Previous Topic:custom marker view in an RCP app using evl
Next Topic:Is there any way of stopping Console from clearing ?
Goto Forum:
  


Current Time: Fri Nov 28 03:14:30 GMT 2014

Powered by FUDForum. Page generated in 0.02302 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software