Remove Eclipse 3 support.
[gpl/argeo-suite.git] / org.argeo.suite.workbench.rap / src / org / argeo / suite / workbench / rap / AsWorkbenchAdvisor.java
diff --git a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/rap/AsWorkbenchAdvisor.java b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/rap/AsWorkbenchAdvisor.java
deleted file mode 100644 (file)
index 5f67135..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.argeo.suite.workbench.rap;
-
-import org.argeo.cms.ui.workbench.rap.RapWorkbenchAdvisor;
-import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
-import org.eclipse.ui.application.WorkbenchWindowAdvisor;
-
-/** Eclipse RAP specific workbench advisor */
-public class AsWorkbenchAdvisor extends RapWorkbenchAdvisor {
-
-       private String username;
-
-       @Override
-       public void postStartup() {
-               super.postStartup();
-               // ExitConfirmation confirmation = RWT.getClient().getService(
-               // ExitConfirmation.class);
-               // confirmation.setMessage("Are you sure you want to leave the page? "
-               // + "All un-saved information will be lost.");
-       }
-
-       public void postShutdown() {
-               super.postShutdown();
-               // ExitConfirmation confirmation = RWT.getClient().getService(
-               // ExitConfirmation.class);
-               // if (confirmation != null)
-               // confirmation.setMessage(null);
-       }
-
-       public AsWorkbenchAdvisor(String username) {
-               super(username);
-               this.username = username;
-       }
-
-       public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
-                       IWorkbenchWindowConfigurer configurer) {
-               return new AsWindowAdvisor(configurer, username);
-       }
-}