ref #9190: rename webapp to local
[taxeditor.git] / eu.etaxonomy.taxeditor.webapp / src / main / java / eu / etaxonomy / taxeditor / local / handler / ShowRemotingLoginWindowHandlerE4.java
diff --git a/eu.etaxonomy.taxeditor.webapp/src/main/java/eu/etaxonomy/taxeditor/local/handler/ShowRemotingLoginWindowHandlerE4.java b/eu.etaxonomy.taxeditor.webapp/src/main/java/eu/etaxonomy/taxeditor/local/handler/ShowRemotingLoginWindowHandlerE4.java
deleted file mode 100755 (executable)
index 68dc09b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
-* Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.local.handler;
-
-import javax.inject.Named;
-
-import org.eclipse.e4.core.di.annotations.Execute;
-import org.eclipse.e4.ui.services.IServiceConstants;
-import org.eclipse.e4.ui.workbench.modeling.ESelectionService;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Shell;
-
-import eu.etaxonomy.taxeditor.event.EventUtility;
-import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants;
-import eu.etaxonomy.taxeditor.local.server.RemotingLoginDialogLocal;
-
-/**
- * @author pplitzner
- * @date 10.10.2017
- */
-public class ShowRemotingLoginWindowHandlerE4 {
-
-    @Execute
-    public void execute(@Named(IServiceConstants.ACTIVE_SHELL)Shell shell, ESelectionService selService) {
-
-           RemotingLoginDialogLocal loginDialog = new RemotingLoginDialogLocal(shell,
-                   SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL);
-           loginDialog.open();
-        EventUtility.postEvent(WorkbenchEventConstants.RECONNECT, null);
-        selService.setSelection(new StructuredSelection());
-       }
-}