Renamed mograsim to net.mograsim
[Mograsim.git] / SampleERCP / src / mograsim / rcp / handlers / SaveHandler.java
diff --git a/SampleERCP/src/mograsim/rcp/handlers/SaveHandler.java b/SampleERCP/src/mograsim/rcp/handlers/SaveHandler.java
deleted file mode 100644 (file)
index a3fd6be..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-package mograsim.rcp.handlers;
-
-import org.eclipse.e4.core.di.annotations.CanExecute;
-import org.eclipse.e4.core.di.annotations.Execute;
-import org.eclipse.e4.ui.workbench.modeling.EPartService;
-
-public class SaveHandler
-{
-
-       @CanExecute
-       public boolean canExecute(EPartService partService)
-       {
-               if (partService != null)
-               {
-                       return !partService.getDirtyParts().isEmpty();
-               }
-               return false;
-       }
-
-       @Execute
-       public void execute(EPartService partService)
-       {
-               partService.saveAll(false);
-       }
-}
\ No newline at end of file