Project

General

Profile

« Previous | Next » 

Revision 682f52a4

Added by Katja Luther over 4 years ago

ref #3472: adapt editor to changes in methods moving descriptions

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/RemotingChangeAcceptedTaxonToSynonymOperation.java
39 39

  
40 40
    private Set<UUID> oldTaxonNodeUuids = new HashSet();
41 41
    private final UUID newAcceptedTaxonNodeUuid;
42
    private boolean setNameInSource ;
42 43

  
43 44

  
44 45
    private final static String LABEL = Messages.RemotingChangeAcceptedTaxonToSynonymOperation_CHANGE_OP;
......
52 53
            UUID newAcceptedTaxonNodeUuid,
53 54
            EPartService partService,
54 55
            MPart activePart,
55
            MApplication application) {
56
            MApplication application,
57
            boolean setNameInSource) {
56 58
        super(LABEL, Action.Update, source, async, partService, activePart, application);
57 59
        this.oldTaxonNodeUuids.addAll(oldTaxonNodeUuids);
58 60
        this.newAcceptedTaxonNodeUuid = newAcceptedTaxonNodeUuid;
61
        this.setNameInSource = setNameInSource;
59 62

  
60 63
    }
61 64

  
......
68 71
            UUID newAcceptedTaxonNodeUuid,
69 72
            EPartService partService,
70 73
    		MPart activePart,
71
    		MApplication application) {
74
    		MApplication application,
75
    		boolean setNameInSource) {
72 76
        super(LABEL, Action.Update, source, async, partService, activePart, application);
73 77
        this.oldTaxonNodeUuids.add(oldTaxonNodeUuid);
74 78
        this.newAcceptedTaxonNodeUuid = newAcceptedTaxonNodeUuid;
79
        this.setNameInSource = setNameInSource;
75 80
    }
76 81

  
77 82
    /**
......
80 85
    public RemotingChangeAcceptedTaxonToSynonymOperation(Object source,
81 86
            boolean async,
82 87
            UUID oldTaxonNodeUuid,
83
            UUID newAcceptedTaxonNodeUuid) {
88
            UUID newAcceptedTaxonNodeUuid,
89
            boolean setNameInSource) {
84 90
        super(LABEL, Action.Update, source, async);
85 91
        this.oldTaxonNodeUuids.add(oldTaxonNodeUuid);
86 92
        this.newAcceptedTaxonNodeUuid = newAcceptedTaxonNodeUuid;
93
        this.setNameInSource = setNameInSource;
87 94
    }
88 95

  
89 96
    /* (non-Javadoc)
......
97 104
                    newAcceptedTaxonNodeUuid,
98 105
                    null,
99 106
                    null,
100
                    null);
107
                    null,
108
                    setNameInSource);//TODO
101 109
    	}else{
102 110
    		updateResult = CdmApplicationState.getService(ITaxonNodeService.class).makeTaxonNodeSynonymsOfAnotherTaxonNode(oldTaxonNodeUuids,
103 111
                    newAcceptedTaxonNodeUuid,
104 112
                    null,
105 113
                    null,
106
                    null);
114
                    null,
115
                    setNameInSource);//TODO
107 116
    	}
108 117
    	updateNameEditor();
109 118
    	return updateResult;

Also available in: Unified diff