ref #6954 workbench.xmi is not saved anymore
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 27 Oct 2017 15:00:04 +0000 (17:00 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 27 Oct 2017 15:00:04 +0000 (17:00 +0200)
 - we have to re-enable this after full migration and test again

eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/ModelResourceHandler.java

index 5067af229b28205f631632346c24fc2974bcbe8e..3639770d990846b8ebd3359d93357aea3a09b306 100644 (file)
@@ -54,8 +54,7 @@ import org.osgi.framework.Bundle;
  * This is a copy of
  * {@link org.eclipse.e4.ui.internal.workbench.ResourceHandler}. The copy is
  * registered in the plugin.xml in order to control the loading and saving of
- * the application model. The only current change is the different save location
- * (see {@link #getBaseLocation()})
+ * the application model.
  *
  * @author pplitzner
  * @date 07.07.2017
@@ -217,7 +216,9 @@ public class ModelResourceHandler implements IModelResourceHandler {
     @Override
     public void save() throws IOException {
         if (saveAndRestore) {
-            resource.save(null);
+            //FIXME E4 we are currently not saving the workbench.xmi because of problems with missing context menus
+            // see #6954
+//            resource.save(null);
         }
     }