minor
authorKatja Luther <k.luther@bgbm.org>
Wed, 10 Jan 2018 10:01:56 +0000 (11:01 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 10 Jan 2018 10:01:56 +0000 (11:01 +0100)
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/l10n/Messages.java
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/l10n/messages.properties
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/l10n/messages_de.properties
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/operation/e4/RemotingCdmHandlerE4.java

index fa06c8bf36418d43924e44565d7a6d0abf9f072c..430ac6575a5ce57c8b3955b15da8f34defd9d559 100644 (file)
@@ -137,6 +137,7 @@ public class Messages extends NLS {
     public static String SetSecundumForSubtreeOperation_CHANGE_SEC_OP;
     public static String SetSecundumForSubtreeOperation_SET_SEC_TASK;
        public static String SetSecundumForSubtreeHandler_CONFIG_DIALOG_TITLE;
+       public static String SetPublishFlagForSubtreeOperation_SET_SEC_TASK;
     public static String TaxonLinkHelper_CREATE_FAIL;
 
     public static String TaxonNavigator_LOAD_DATASOURCE;
@@ -178,6 +179,7 @@ public class Messages extends NLS {
     public static String TreeNodeDropAdapter_UNSAVED_PARENT_MESSAGE;
     public static String SetPublishForSubtreeOperation_CHANGE_PUBLISH_OP;
     public static String TaxonNavigatorLabels_SET_PUBLISH_FOR_CHILDREN;
+       
 
 
     static {
index cb2c8c8446f2eb8c3c207a8bc6003b823594e92c..4c89c01c009d6d0bf13d7cfd22e64b9e0809fcf6 100644 (file)
@@ -118,6 +118,7 @@ SearchResultView_STATUS=Status:
 SetSecundumForSubtreeOperation_CHANGE_SEC_OP=Change secundum reference for all children
 SetSecundumForSubtreeOperation_SET_SEC_TASK=Set secundum reference for subtree
 SetSecundumForSubtreeHandler_CONFIG_DIALOG_TITLE=Set secundum reference for subtree
+SetPublishFlagForSubtreeOperation_SET_SEC_TASK=Set publis flag for subtree
 TaxonLinkHelper_CREATE_FAIL=Could not create Taxon
 TaxonNavigator_LOAD_DATASOURCE=Loading datasources
 TaxonNavigator_RESTORE=Restoring Taxon Navigator
index 6b6aa1cc398a759b37943cd2f580b82a4381bdba..68b5dcf7139523d0d9a5322997ac243d9cb844c0 100644 (file)
@@ -118,6 +118,7 @@ SearchResultView_STATUS=Status:
 SetSecundumForSubtreeOperation_CHANGE_SEC_OP=Secundum Referenz für alle Kinder ändern
 SetSecundumForSubtreeOperation_SET_SEC_TASK=Secundum Referenz für Teilbaum setzen
 SetSecundumForSubtreeHandler_CONFIG_DIALOG_TITLE=Setze Secundum Referenz für Teilbaum
+SetPublishFlagForSubtreeOperation_SET_SEC_TASK=Publish Flag für Teilbaum setzenS
 TaxonLinkHelper_CREATE_FAIL=Konnte Taxon nicht erstellen
 TaxonNavigator_LOAD_DATASOURCE=Lade Datenquellen
 TaxonNavigator_RESTORE=Taxonnavigator wiederherstellen
index 3860196e279ff2c6a29d34606917eda42b45536f..7e41a5b942080a377b5997689624dcd5c5a04b4e 100644 (file)
@@ -14,6 +14,7 @@ import org.eclipse.core.commands.operations.AbstractOperation;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.e4.core.di.annotations.Execute;
 import org.eclipse.e4.ui.di.UISynchronize;
+import org.eclipse.e4.ui.model.application.MApplication;
 import org.eclipse.e4.ui.model.application.ui.basic.MPart;
 import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem;
 import org.eclipse.e4.ui.services.IServiceConstants;
@@ -34,6 +35,7 @@ public abstract class RemotingCdmHandlerE4 {
 
     protected String label;
     protected EPartService partService;
+       protected MApplication application;
 
     public RemotingCdmHandlerE4(String label) {
         this.label = label;
@@ -43,8 +45,9 @@ public abstract class RemotingCdmHandlerE4 {
     public void execute(@Named(IServiceConstants.ACTIVE_SELECTION)IStructuredSelection selection,
             @Named(IServiceConstants.ACTIVE_SHELL)Shell shell,
             @Named(IServiceConstants.ACTIVE_PART)MPart activePart,
-            MHandledMenuItem menuItem, EPartService partService, UISynchronize sync) {
+            MHandledMenuItem menuItem, EPartService partService, UISynchronize sync, MApplication application) {
         this.partService = partService;
+        this.application = application;
         IStatus allowStatus = allowOperations(selection, shell, activePart, menuItem);
         if(allowStatus.isOK()) {
             AbstractOperation op = prepareOperation(selection, shell, activePart, menuItem);