Project

General

Profile

« Previous | Next » 

Revision 9370d21c

Added by Katja Luther almost 4 years ago

#8785: move aggregation to context menu

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrix.java
663 663
        propertyToLabelMap.put(property, label);
664 664
    }
665 665

  
666
    public void loadDescriptions(UUID descriptiveDataSetUuid, boolean isInitialExpandToDeepestTaxonLevel) {
667
        UUID monitorUuid =  CdmApplicationState.getLongRunningTasksService().monitGetRowWrapper(descriptiveDataSetUuid);
666
    public void loadDescriptions(boolean isInitialExpandToDeepestTaxonLevel, boolean initialLoading) {
667
        UUID monitorUuid =  CdmApplicationState.getLongRunningTasksService().monitGetRowWrapper(this.getDescriptiveDataSet().getUuid());
668 668

  
669 669
        final Collection<RowWrapperDTO> wrappers = new ArrayList<>();
670 670
        String jobLabel = Messages.CharacterMatrix_LOAD_CHARACTER_DATA;
......
715 715
                    }
716 716
                    descriptions.clear();
717 717
                    wrappers.stream().filter(row->row.getTaxonNode()!=null).forEach(wrapper->CharacterMatrix.this.descriptions.add(wrapper));
718
                    loadingDone(isInitialExpandToDeepestTaxonLevel);
718
                    if(initialLoading){
719
                        loadingDone(isInitialExpandToDeepestTaxonLevel);
720
                    }
719 721

  
720 722
                });
721 723
            }

Also available in: Unified diff