Merge branch 'release/3.12.0'
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / handler / ShowRemotingLoginWindowHandler.java
index 025c493e4cc938cbbb254398680e314ac18de1d7..25b8d84dd056c15458f2c3cba7ecc30c55e296c1 100644 (file)
@@ -20,11 +20,9 @@ import org.eclipse.ui.handlers.HandlerUtil;
 import eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog;
 
 /**
- * <p>ShowLoginWindowHandler class.</p>
  *
- * @author n.hoffmann
- * @created Aug 7, 2009
- * @version 1.0
+ *
+ * @author c.mathew
  */
 public class ShowRemotingLoginWindowHandler extends AbstractHandler implements IHandler{
 
@@ -33,16 +31,14 @@ public class ShowRemotingLoginWindowHandler extends AbstractHandler implements I
         */
        /** {@inheritDoc} */
        @Override
-    public Object execute(ExecutionEvent event) throws ExecutionException {
+       public Object execute(ExecutionEvent event) throws ExecutionException {
+
+           RemotingLoginDialog loginDialog = new RemotingLoginDialog(HandlerUtil.getActiveShell(event),
+                   SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);
+           loginDialog.open();
 
-               RemotingLoginDialog loginDialog = new RemotingLoginDialog(HandlerUtil.getActiveShell(event),SWT.DIALOG_TRIM
-                       | SWT.APPLICATION_MODAL);
-               loginDialog.open();
 
                return null;
 
        }
-
-
-
 }