Project

General

Profile

Revision 88ce3c57

ID88ce3c57b1778fcbee43b714351e998a18330f5d
Parent a1ab28ed
Child 63032fd5

Added by Katja Luther almost 3 years ago

minor

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/l10n/Messages.java
137 137
    public static String SetSecundumForSubtreeOperation_CHANGE_SEC_OP;
138 138
    public static String SetSecundumForSubtreeOperation_SET_SEC_TASK;
139 139
	public static String SetSecundumForSubtreeHandler_CONFIG_DIALOG_TITLE;
140
	public static String SetPublishFlagForSubtreeOperation_SET_SEC_TASK;
140 141
    public static String TaxonLinkHelper_CREATE_FAIL;
141 142

  
142 143
    public static String TaxonNavigator_LOAD_DATASOURCE;
......
178 179
    public static String TreeNodeDropAdapter_UNSAVED_PARENT_MESSAGE;
179 180
    public static String SetPublishForSubtreeOperation_CHANGE_PUBLISH_OP;
180 181
    public static String TaxonNavigatorLabels_SET_PUBLISH_FOR_CHILDREN;
182
	
181 183

  
182 184

  
183 185
    static {
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/l10n/messages.properties
118 118
SetSecundumForSubtreeOperation_CHANGE_SEC_OP=Change secundum reference for all children
119 119
SetSecundumForSubtreeOperation_SET_SEC_TASK=Set secundum reference for subtree
120 120
SetSecundumForSubtreeHandler_CONFIG_DIALOG_TITLE=Set secundum reference for subtree
121
SetPublishFlagForSubtreeOperation_SET_SEC_TASK=Set publis flag for subtree
121 122
TaxonLinkHelper_CREATE_FAIL=Could not create Taxon
122 123
TaxonNavigator_LOAD_DATASOURCE=Loading datasources
123 124
TaxonNavigator_RESTORE=Restoring Taxon Navigator
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/l10n/messages_de.properties
118 118
SetSecundumForSubtreeOperation_CHANGE_SEC_OP=Secundum Referenz f?r alle Kinder ?ndern
119 119
SetSecundumForSubtreeOperation_SET_SEC_TASK=Secundum Referenz f?r Teilbaum setzen
120 120
SetSecundumForSubtreeHandler_CONFIG_DIALOG_TITLE=Setze Secundum Referenz f?r Teilbaum
121
SetPublishFlagForSubtreeOperation_SET_SEC_TASK=Publish Flag f?r Teilbaum setzenS
121 122
TaxonLinkHelper_CREATE_FAIL=Konnte Taxon nicht erstellen
122 123
TaxonNavigator_LOAD_DATASOURCE=Lade Datenquellen
123 124
TaxonNavigator_RESTORE=Taxonnavigator wiederherstellen
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/operation/e4/RemotingCdmHandlerE4.java
14 14
import org.eclipse.core.runtime.IStatus;
15 15
import org.eclipse.e4.core.di.annotations.Execute;
16 16
import org.eclipse.e4.ui.di.UISynchronize;
17
import org.eclipse.e4.ui.model.application.MApplication;
17 18
import org.eclipse.e4.ui.model.application.ui.basic.MPart;
18 19
import org.eclipse.e4.ui.model.application.ui.menu.MHandledMenuItem;
19 20
import org.eclipse.e4.ui.services.IServiceConstants;
......
34 35

  
35 36
    protected String label;
36 37
    protected EPartService partService;
38
	protected MApplication application;
37 39

  
38 40
    public RemotingCdmHandlerE4(String label) {
39 41
        this.label = label;
......
43 45
    public void execute(@Named(IServiceConstants.ACTIVE_SELECTION)IStructuredSelection selection,
44 46
            @Named(IServiceConstants.ACTIVE_SHELL)Shell shell,
45 47
            @Named(IServiceConstants.ACTIVE_PART)MPart activePart,
46
            MHandledMenuItem menuItem, EPartService partService, UISynchronize sync) {
48
            MHandledMenuItem menuItem, EPartService partService, UISynchronize sync, MApplication application) {
47 49
        this.partService = partService;
50
        this.application = application;
48 51
        IStatus allowStatus = allowOperations(selection, shell, activePart, menuItem);
49 52
        if(allowStatus.isOK()) {
50 53
            AbstractOperation op = prepareOperation(selection, shell, activePart, menuItem);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)