Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDisplaying username and password InputDialog
https://www.eclipse.org/forums/index.php/mv/msg/177528/564435/#msg_564435
public class UserActionHandler extends AbstractHandler {
public Object execute(ExecutionEvent event) throws ExecutionException {
IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
InoutDialog userNameDialog = new InputDialog(Display.getCurrent().getActiveShell(),"Username ", "userid", label.getText(), new LengthValidator());
The problem here is i am getting the usernmane dialog and then followed by the password dialog. Instead i want both username and password to be diaplayed at the same time.
Please help !]]>walnut23 2010-05-27T10:19:52-00:00Re: Displaying username and password InputDialog
https://www.eclipse.org/forums/index.php/mv/msg/177528/564560/#msg_564560
the SWT newsgroup.
"walnut23" <alspriya23@gmail.com> wrote in message
news:htlh09$j50$1@build.eclipse.org...
>I am using eclipse plugin to display a button and on clicking it , it
>should ask for username and password in the same Input Dialog.
>
> public class UserActionHandler extends AbstractHandler {
> public Object execute(ExecutionEvent event) throws ExecutionException {
> IWorkbenchWindow window =
> HandlerUtil.getActiveWorkbenchWindowChecked(event);
> InoutDialog userNameDialog = new
> InputDialog(Display.getCurrent().getActiveShell(),"Username ", "userid",
> label.getText(), new LengthValidator());
>
> The problem here is i am getting the usernmane dialog and then followed by
> the password dialog. Instead i want both username and password to be
> diaplayed at the same time.
> Please help !]]>Mark Rogalski2010-06-16T13:18:42-00:00