Renamed project folders to match the respective project name
[Mograsim.git] / SampleERCP / src / net / mograsim / rcp / handlers / QuitHandler.java
diff --git a/SampleERCP/src/net/mograsim/rcp/handlers/QuitHandler.java b/SampleERCP/src/net/mograsim/rcp/handlers/QuitHandler.java
deleted file mode 100644 (file)
index c953e5a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-package net.mograsim.rcp.handlers;
-
-import org.eclipse.e4.core.di.annotations.Execute;
-import org.eclipse.e4.ui.workbench.IWorkbench;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.swt.widgets.Shell;
-
-public class QuitHandler
-{
-       @Execute
-       public void execute(IWorkbench workbench, Shell shell)
-       {
-               if (MessageDialog.openConfirm(shell, "Confirmation", "Do you want to exit?"))
-               {
-                       workbench.close();
-               }
-       }
-}