Project

General

Profile

Revision 5e1dc099

ID5e1dc0994237eb6a458fa413061a61be80be00a9
Parent 4fee3487
Child da04c055

Added by Katja Luther over 1 year ago

ref #7920: add area specific status preference in distribution editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditor.java
75 75
import eu.etaxonomy.cdm.api.service.IVocabularyService;
76 76
import eu.etaxonomy.cdm.api.service.dto.TaxonDescriptionDTO;
77 77
import eu.etaxonomy.cdm.api.service.dto.TaxonDistributionDTO;
78
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
79 78
import eu.etaxonomy.cdm.model.common.Language;
79
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
80
import eu.etaxonomy.cdm.model.description.Distribution;
81
import eu.etaxonomy.cdm.model.description.TaxonDescription;
82
import eu.etaxonomy.cdm.model.location.NamedArea;
83
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
84
import eu.etaxonomy.cdm.model.reference.Reference;
85
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
80 86
import eu.etaxonomy.cdm.model.term.OrderedTermBase;
81 87
import eu.etaxonomy.cdm.model.term.OrderedTermComparator;
82 88
import eu.etaxonomy.cdm.model.term.Representation;
......
84 90
import eu.etaxonomy.cdm.model.term.TermLanguageComparator;
85 91
import eu.etaxonomy.cdm.model.term.TermType;
86 92
import eu.etaxonomy.cdm.model.term.TermVocabulary;
87
import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
88
import eu.etaxonomy.cdm.model.description.Distribution;
89
import eu.etaxonomy.cdm.model.description.TaxonDescription;
90
import eu.etaxonomy.cdm.model.location.NamedArea;
91
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
92
import eu.etaxonomy.cdm.model.reference.Reference;
93 93
import eu.etaxonomy.taxeditor.editor.EditorUtil;
94 94
import eu.etaxonomy.taxeditor.editor.l10n.Messages;
95 95
import eu.etaxonomy.taxeditor.model.AbstractUtility;
......
619 619
    private SortedSet<DefinedTermBase> loadNamedAreas() {
620 620
        //IPreferenceStore preferenceStore = PreferencesUtil.getPreferenceStore();
621 621

  
622
        String valuesAreas = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionAreaTerms.getKey());
622
        String valuesAreas = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionAreaTerms.getKey(), true);
623 623
        String values = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionAreaVocabularies.getKey());
624 624
        Set<UUID> uuidList = new HashSet<UUID>();
625 625
        String[] split;
......
646 646
        }else{
647 647
            vocs= service.find(uuidList);
648 648
        }
649
        split = valuesAreas.split(";"); //$NON-NLS-1$
650
        listValue = Arrays.asList(split);
651 649
        for (TermVocabulary voc: vocs){
652 650
            termlist.addAll(service.getTerms(voc, null, null, null, null).getRecords());
653 651
        }
654 652
        List<DefinedTermBase> filteredList = new ArrayList();
655
        for (DefinedTermBase area: termlist){
656
            if (listValue.contains(area.getUuid().toString())) {
657
                filteredList.add(area);
658
            }
653
        if (valuesAreas != null && valuesAreas != "") {
654
            split = valuesAreas.split(";"); //$NON-NLS-1$
655
            listValue = Arrays.asList(split);
659 656

  
657
            for (DefinedTermBase area: termlist){
658
                if (listValue.contains(area.getUuid().toString())) {
659
                    filteredList.add(area);
660
                }
661

  
662
            }
663
        }else{
664
            filteredList.addAll(termlist);
660 665
        }
666

  
667

  
661 668
        String sortOrder = PreferencesUtil.getSortNamedAreasInDistributionEditor();
662 669
        if (sortOrder.equals(TermOrder.Natural.getKey())){
663 670
            areas =  getTermsOrderedByVocabularyOrder(filteredList);
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/StatusComboBoxDataProvider.java
17 17
import org.apache.commons.lang.StringUtils;
18 18
import org.eclipse.nebula.widgets.nattable.edit.editor.IComboBoxDataProvider;
19 19

  
20
import eu.etaxonomy.cdm.model.description.PresenceAbsenceTerm;
21
import eu.etaxonomy.cdm.model.location.NamedArea;
22
import eu.etaxonomy.cdm.model.metadata.CdmPreference;
23
import eu.etaxonomy.cdm.model.metadata.CdmPreference.PrefKey;
24
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
25
import eu.etaxonomy.cdm.model.metadata.PreferenceSubject;
20 26
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
21 27
import eu.etaxonomy.cdm.model.term.OrderedTermComparator;
22 28
import eu.etaxonomy.cdm.model.term.Representation;
23
import eu.etaxonomy.cdm.model.description.PresenceAbsenceTerm;
24
import eu.etaxonomy.cdm.model.metadata.PreferencePredicate;
29
import eu.etaxonomy.taxeditor.preference.CdmPreferenceCache;
25 30
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
26 31
import eu.etaxonomy.taxeditor.store.CdmStore;
27 32

  
......
43 48

  
44 49
    @Override
45 50
    public List<?> getValues(int columnIndex, int rowIndex) {
46
        return getValues();
51
        NamedArea area = editor.getAreaToColumnIndexMap().get(columnIndex);
52
        PrefKey key = CdmPreference.NewKey(PreferenceSubject.NewInstance("/"+PreferenceSubject.DISTR_EDITOR+"/area/"+area.getUuid().toString()), PreferencePredicate.AvailableDistributionPerAreaStatus);
53
        CdmPreference pref = CdmPreferenceCache.instance().findBestMatching(key);
54
        if (pref == null) {
55
            pref = CdmPreferenceCache.instance().get(PreferencePredicate.AvailableDistributionStatus.getKey());
56
            if (pref == null){
57
                pref = CdmPreference.NewTaxEditorInstance(PreferencePredicate.AvailableDistributionStatus, PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionStatus.getKey()));
58
            }
59
        }
60
        return getValues(pref);
61

  
47 62
    }
48 63

  
49
    public static List<?> getValues(){
64

  
65
    public static List<?> getValues(CdmPreference pref){
50 66
        List<DefinedTermBase> inputAll = new ArrayList<>();
51 67
        PresenceAbsenceTerm noneTerm = PresenceAbsenceTerm.NewInstance();
52 68
        noneTerm.setTitleCache(" - ", true);
53 69
        noneTerm.addRepresentation(Representation.NewInstance(" - ", " ", " ", CdmStore.getDefaultLanguage()));
54 70
        inputAll.add(noneTerm);
55
        String statusString = PreferencesUtil.getStringValue(PreferencePredicate.AvailableDistributionStatus.getKey());
71
        String statusString = pref.getValue();
72

  
56 73
        List<PresenceAbsenceTerm> inputList;
57 74
        if (!StringUtils.isBlank(statusString)){
58 75

  
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle.properties
252 252
page.name.55 = Supplemental Data
253 253
page.name.56 = Search
254 254
page.name.57 = Taxon Search
255
page.name.58 = Common Names
255
page.name.58 = Common Names
256
handledmenuitem.label.15 = Move term
257
partdescriptor.label.2 = Term Search
258
partdescriptor.label.3 = Occurrence Search
259
command.commandname.15 = Open Cache Updater
260
command.commandname.16 = Open Sort Index Updater
261
command.commandname.17 = Move Term
262
command.commandname.18 = Open Distribution Status Per Area Wizard
263
handledmenuitem.label.16 = Term Search
264
handledmenuitem.label.17 = Occurrence Search
265
handledmenuitem.label.18 = Update Caches
266
handledmenuitem.label.19 = Update Sortindices
267

  
268
command.commandname.19 = Open Area Wizard
eu.etaxonomy.taxeditor.store/OSGI-INF/l10n/bundle_de.properties
246 246
page.name.55 = Zusatzdaten
247 247
page.name.56 = Suche
248 248
page.name.57 = Taxonsuche
249
page.name.58 = Trivialnamen
249
page.name.58 = Trivialnamen
250
handledmenuitem.label.15 = Verschiebe Term
251
partdescriptor.label.2 = Term Suche
252
partdescriptor.label.3 = Occurrence Suche
253
handledmenuitem.label.16 = Term Suche
254
handledmenuitem.label.17 = Occurrence Suche
255
handledmenuitem.label.18 = Update Caches
256
handledmenuitem.label.19 = Update Sortindices
eu.etaxonomy.taxeditor.store/fragment.e4xmi
73 73
          </children>
74 74
        </children>
75 75
        <children xsi:type="menu:HandledMenuItem" xmi:id="_W94ssIdQEeecZ4F2Y9Z0Og" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.commandlabel14" label="%command.label.14" command="_Z_XgsIdQEeecZ4F2Y9Z0Og"/>
76
        <children xsi:type="menu:HandledMenuItem" xmi:id="_aHm7kEAVEembfJNLZI9wiA" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.moveto" label="Move term" command="_d6YpoEAVEembfJNLZI9wiA"/>
76
        <children xsi:type="menu:HandledMenuItem" xmi:id="_aHm7kEAVEembfJNLZI9wiA" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.moveto" label="%handledmenuitem.label.15" command="_d6YpoEAVEembfJNLZI9wiA"/>
77 77
      </menus>
78 78
    </elements>
79 79
    <elements xsi:type="basic:PartDescriptor" xmi:id="_HBpj0KkNEeejedk4mZQIGw" elementId="eu.etaxonomy.taxeditor.view.dataimport.e4.SpecimenImportViewE4" label="%view.name.7" allowMultiple="true" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.dataimport.e4.SpecimenImportViewE4">
......
84 84
    </elements>
85 85
    <elements xsi:type="basic:PartDescriptor" xmi:id="_aT37QM3UEeeznb_sS6rfAQ" elementId="eu.etaxonomy.taxeditor.store.partdescriptor.SearchDialog" label="%view.name.9" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.ui.dialog.selection.SearchDialog"/>
86 86
    <elements xsi:type="basic:PartDescriptor" xmi:id="_XV6gkEbOEeiER_VRS0L7wA" elementId="eu.etaxonomy.taxeditor.view.webimport.termimport.GfBioTerminologyImportPart" label="%partdescriptor.label.1" tooltip="%partdescriptor.tooltip.1" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.webimport.termimport.GfBioTerminologyImportPart"/>
87
    <elements xsi:type="basic:PartDescriptor" xmi:id="_namYwB7xEemDKJyLc5CJfQ" elementId="eu.etaxonomy.taxeditor.store.partdescriptor.termsearch" label="Term Search" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.search.facet.term.TermSearch"/>
88
    <elements xsi:type="basic:PartDescriptor" xmi:id="_mbegMDNMEemOn_75IU-Tvg" elementId="eu.etaxonomy.taxeditor.store.partdescriptor.occurencesearch" label="Occurrence Search" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.search.facet.occurrence.OccurrenceSearch"/>
87
    <elements xsi:type="basic:PartDescriptor" xmi:id="_namYwB7xEemDKJyLc5CJfQ" elementId="eu.etaxonomy.taxeditor.store.partdescriptor.termsearch" label="%partdescriptor.label.2" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.search.facet.term.TermSearch"/>
88
    <elements xsi:type="basic:PartDescriptor" xmi:id="_mbegMDNMEemOn_75IU-Tvg" elementId="eu.etaxonomy.taxeditor.store.partdescriptor.occurencesearch" label="%partdescriptor.label.3" closeable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.view.search.facet.occurrence.OccurrenceSearch"/>
89 89
  </fragments>
90 90
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_3rW8wCXaEeex9MwMOgUeWw" featurename="children" parentElementId="eu.etaxonomy.taxeditor.menu.showView" positionInList="after:eu.etaxonomy.taxeditor.workbench.menuseparator.afterConcept">
91 91
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_TlufMCaGEeeTEd_pKXBflg" elementId="eu.etaxonomy.taxeditor.store.showViewMenu.supplemental" label="%command.label.1" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.store/icons/applications-office.png" tooltip="%command.label.1" command="_bnVKsCZxEeeQLpuomSmVoQ">
......
152 152
    <elements xsi:type="commands:Command" xmi:id="_xDk5kNjyEeidDMMI9xTsbQ" elementId="eu.etaxonomy.taxeditor.store.command.featureTree.pasteFeature" commandName="%command.commandname.12"/>
153 153
    <elements xsi:type="commands:Command" xmi:id="_Za5DYO5vEeizn7bmbAeBkw" elementId="eu.etaxonomy.taxeditor.store.open.OpenDistributionStatusWizardHandler" commandName="%command.commandname.13"/>
154 154
    <elements xsi:type="commands:Command" xmi:id="_xyZ4oPhmEei8uPv-H2wqnw" elementId="eu.etaxonomy.taxeditor.store.command.featureTree.exportTreeOntology" commandName="%command.commandname.14"/>
155
    <elements xsi:type="commands:Command" xmi:id="_qYxw8D85EemTy7SLZkowuQ" elementId="eu.etaxonomy.taxeditor.store.command.OpenDatabaseRepairWizard" commandName="Open Cache Updater"/>
156
    <elements xsi:type="commands:Command" xmi:id="_VUQY0D86EemTy7SLZkowuQ" elementId="eu.etaxonomy.taxeditor.store.command.openSortIndexUpdaterWizard" commandName="Open Sort Index Updater"/>
157
    <elements xsi:type="commands:Command" xmi:id="_d6YpoEAVEembfJNLZI9wiA" elementId="eu.etaxonomy.taxeditor.editor.definedTerms.moveTerm" commandName="Move Term"/>
158 155
    <elements xsi:type="commands:Command" xmi:id="_Z7vHUGdoEemm7Ie9EDdklA" elementId="eu.etaxonomy.taxeditor.store.command.importOwl" commandName="OWL"/>
156
    <elements xsi:type="commands:Command" xmi:id="_qYxw8D85EemTy7SLZkowuQ" elementId="eu.etaxonomy.taxeditor.store.command.OpenDatabaseRepairWizard" commandName="%command.commandname.15"/>
157
    <elements xsi:type="commands:Command" xmi:id="_VUQY0D86EemTy7SLZkowuQ" elementId="eu.etaxonomy.taxeditor.store.command.openSortIndexUpdaterWizard" commandName="%command.commandname.16"/>
158
    <elements xsi:type="commands:Command" xmi:id="_d6YpoEAVEembfJNLZI9wiA" elementId="eu.etaxonomy.taxeditor.editor.definedTerms.moveTerm" commandName="%command.commandname.17"/>
159
    <elements xsi:type="commands:Command" xmi:id="_lJi2sGZvEemew5ARzf3JfA" elementId="eu.etaxonomy.taxeditor.store.open.OpenDistributionPerAreaStatusWizardHandler" commandName="%command.commandname.18"/>
160
    <elements xsi:type="commands:Command" xmi:id="_QnWnMGZ-Eemew5ARzf3JfA" elementId="eu.etaxonomy.taxeditor.store.open.OpenDistributionAreaWizardHandler" commandName="%command.commandname.19"/>
159 161
  </fragments>
160 162
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_swGH0GhvEee3K4uKJljEYg" featurename="handlers" parentElementId="xpath:/">
161 163
    <elements xsi:type="commands:Handler" xmi:id="_rVEdIGcjEee0qLTtA2ZpVQ" elementId="eu.etaxonomy.taxeditor.featuretree.e4.handler.RemoveFeatureHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.featuretree.e4.handler.RemoveFeatureHandler" command="_fNBtQGcjEee0qLTtA2ZpVQ"/>
......
196 198
    <elements xsi:type="commands:Handler" xmi:id="_i4yZAD8zEemTy7SLZkowuQ" elementId="eu.etaxonomy.taxeditor.store.handler.0" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.handler.OpenDatabaseRepairWizardHandler" command="_qYxw8D85EemTy7SLZkowuQ"/>
197 199
    <elements xsi:type="commands:Handler" xmi:id="_PugRQD86EemTy7SLZkowuQ" elementId="eu.etaxonomy.taxeditor.store.handler.1" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.handler.OpenUpdateSortIndicesHandler" command="_VUQY0D86EemTy7SLZkowuQ"/>
198 200
    <elements xsi:type="commands:Handler" xmi:id="_iKdcQGdoEemm7Ie9EDdklA" elementId="eu.etaxonomy.taxeditor.io.e4.in.owl.OpenOwlImportWizard" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.io.e4.in.owl.OpenOwlImportWizard" command="_Z7vHUGdoEemm7Ie9EDdklA"/>
201
    <elements xsi:type="commands:Handler" xmi:id="_e-sBgGZwEemew5ARzf3JfA" elementId="eu.etaxonomy.taxeditor.handler.e4.OpenDistributionStatusPerAreaWizardHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.handler.e4.OpenDistributionPerAreaStatusWizardHandler" command="_lJi2sGZvEemew5ARzf3JfA"/>
202
    <elements xsi:type="commands:Handler" xmi:id="_XxpDoGZ-Eemew5ARzf3JfA" elementId="eu.etaxonomy.taxeditor.handler.e4.OpenDistributionAreaWizardHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.store/eu.etaxonomy.taxeditor.handler.e4.OpenDistributionAreaWizardHandler" command="_QnWnMGZ-Eemew5ARzf3JfA"/>
199 203
  </fragments>
200 204
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_qT4hgIfTEeecZ4F2Y9Z0Og" featurename="children" parentElementId="eu.etaxonomy.taxeditor.workbench.menu.window" positionInList="before:eu.etaxonomy.taxeditor.application.windowMenu.last">
201 205
    <elements xsi:type="menu:Menu" xmi:id="_LT3P8IfcEeecZ4F2Y9Z0Og" elementId="eu.etaxonomy.taxeditor.store.menu.termeditor" label="%menu.label.1">
......
209 213
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_h15bwEb1EeiER_VRS0L7wA" coreExpressionId="isCdmStoreConnectedAndShowExperimental"/>
210 214
        <parameters xmi:id="_eU0zcUbOEeiER_VRS0L7wA" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.gfbioTermImport" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.view.webimport.termimport.GfBioTerminologyImportPart"/>
211 215
      </children>
212
      <children xsi:type="menu:HandledMenuItem" xmi:id="_fbZtkB7xEemDKJyLc5CJfQ" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.termsearch" label="Term Search" command="_bnVKsCZxEeeQLpuomSmVoQ">
216
      <children xsi:type="menu:HandledMenuItem" xmi:id="_fbZtkB7xEemDKJyLc5CJfQ" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.termsearch" label="%handledmenuitem.label.16" command="_bnVKsCZxEeeQLpuomSmVoQ">
213 217
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_fDkegDNMEemOn_75IU-Tvg" coreExpressionId="isShowExperimentalFeatures"/>
214 218
        <parameters xmi:id="_jnbCEB7xEemDKJyLc5CJfQ" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.termsearch" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.store.partdescriptor.termsearch"/>
215 219
      </children>
216
      <children xsi:type="menu:HandledMenuItem" xmi:id="_ab1eYDNMEemOn_75IU-Tvg" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.occurrencesearch" label="Occurrence Search" command="_bnVKsCZxEeeQLpuomSmVoQ">
220
      <children xsi:type="menu:HandledMenuItem" xmi:id="_ab1eYDNMEemOn_75IU-Tvg" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.occurrencesearch" label="%handledmenuitem.label.17" command="_bnVKsCZxEeeQLpuomSmVoQ">
217 221
        <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_eiOE8DNMEemOn_75IU-Tvg" coreExpressionId="isShowExperimentalFeatures"/>
218 222
        <parameters xmi:id="_ab1eYTNMEemOn_75IU-Tvg" elementId="eu.etaxonomy.taxeditor.store.showView.parameter.occurrencesearch" name="eu.etaxonomy.taxeditor.workbench.commandparameter.partName" value="eu.etaxonomy.taxeditor.store.partdescriptor.occurencesearch"/>
219 223
      </children>
......
275 279
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_uHiLwBWNEeiazYUJirF0Pw" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.handledmenuitemlabel6" label="%handledmenuitem.label.11" command="_jSJrsBWPEeiazYUJirF0Pw"/>
276 280
  </fragments>
277 281
  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_S2CIED8oEempU5gGjh-zOg" featurename="children" parentElementId="eu.etaxonomy.taxeditor.workbench.menu.databaseRepair">
278
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_67xR4D8oEempU5gGjh-zOg" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.UpdateCaches" label="Update Caches" command="_qYxw8D85EemTy7SLZkowuQ">
282
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_67xR4D8oEempU5gGjh-zOg" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.UpdateCaches" label="%handledmenuitem.label.18" command="_qYxw8D85EemTy7SLZkowuQ">
279 283
      <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_HcAdUD8_EemTy7SLZkowuQ" coreExpressionId="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected"/>
280 284
    </elements>
281
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_CSXsAD8pEempU5gGjh-zOg" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.UpdateSortindices" label="Update Sortindices" command="_VUQY0D86EemTy7SLZkowuQ">
285
    <elements xsi:type="menu:HandledMenuItem" xmi:id="_CSXsAD8pEempU5gGjh-zOg" elementId="eu.etaxonomy.taxeditor.store.handledmenuitem.UpdateSortindices" label="%handledmenuitem.label.19" command="_VUQY0D86EemTy7SLZkowuQ">
282 286
      <visibleWhen xsi:type="ui:CoreExpression" xmi:id="_JRRV0D8_EemTy7SLZkowuQ" coreExpressionId="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected"/>
283 287
    </elements>
284 288
  </fragments>

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)