Project

General

Profile

« Previous | Next » 

Revision 6c8dc8d3

Added by Katja Luther over 6 years ago

ref #6908: set dirty flag in polytomous key node editor for all operations

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/e4/handler/CreateChildNodeHandlerE4.java
43 43
            PolytomousKey pk = editor.getViewerInputKey();
44 44
            String label = menuItem.getLocalizedLabel();
45 45
            IUndoContext undoContext = EditorUtil.getUndoContext();
46

  
46
            editor.changed(null);
47 47

  
48 48
            AbstractPostOperation operation = new CreateNodeOperation(
49 49
                    label, undoContext, pk.getRoot(), editor);
......
55 55

  
56 56
            PolytomousKeyNode keyNode = (PolytomousKeyNode) selection
57 57
                    .getFirstElement();
58

  
58
            editor.changed(null);
59 59
            AbstractPostOperation operation = new CreateNodeOperation(
60 60
                    label, undoContext, keyNode, editor);
61 61
            AbstractUtility.executeOperation(operation, sync);
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/e4/handler/CreateSiblingNodeHandlerE4.java
38 38
            IUndoContext undoContext = EditorUtil.getUndoContext();
39 39

  
40 40
            PolytomousKeyNode keyNode = (PolytomousKeyNode) selection.getFirstElement();
41

  
41
            editor.changed(null);
42 42
            AbstractPostOperation operation = new CreateNodeOperation(label, undoContext, keyNode.getParent(),
43 43
                    editor);
44 44
            AbstractUtility.executeOperation(operation, sync);

Also available in: Unified diff