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;
public static String TreeNodeDropAdapter_UNSAVED_PARENT_MESSAGE;
public static String SetPublishForSubtreeOperation_CHANGE_PUBLISH_OP;
public static String TaxonNavigatorLabels_SET_PUBLISH_FOR_CHILDREN;
+
static {
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
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
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;
protected String label;
protected EPartService partService;
+ protected MApplication application;
public RemotingCdmHandlerE4(String label) {
this.label = label;
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);