Project

General

Profile

Revision c168ff52

IDc168ff52f84fc08d98c22f7740d0ce077f3f4832
Parent 786745d9
Child 21d98831

Added by Katja Luther 5 months ago

ref #9337, #9288: add image for list

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/termtree/TermTreeLabelProvider.java
70 70
	            TermTreeDto dto = (TermTreeDto)element;
71 71
	            if (!dto.isFlat()){
72 72
	                return ImageResources.getImage(ImageResources.HIERARCHICAL);
73
	            }else{
74
	                return ImageResources.getImage(ImageResources.FLAT);
73 75
	            }
74 76

  
75 77
	        }
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/termtree/e4/handler/CreateTermTreeHandler.java
58 58
        CreateFeatureTreeOperation operation = new CreateFeatureTreeOperation(newTree, editor, editor);
59 59
        TermTreeDto newDto = TermTreeDto.fromTree(newTree);
60 60
        editor.setDirty();
61
//        AbstractUtility.executeOperation(operation, sync);
61

  
62 62
        editor.addOperation(operation);
63 63
        ((TermTreeEditor)editor).putTree(newDto);
64 64
        ((TermTreeEditor)editor).getViewer().setInput(((TermTreeEditor)editor).getTrees());
......
67 67
        ((TermTreeEditor)editor).getViewer().refresh();
68 68
        IStructuredSelection sel = new StructuredSelection(newDto);
69 69
        ((TermTreeEditor)editor).getViewer().setSelection(sel);
70
//        ((TermTreeEditor)editor).selectionChanged(event);
70

  
71 71

  
72 72

  
73 73
    }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)