Project

General

Profile

Revision 893ee34c

ID893ee34c14d48a6477ad9f481798ac3360a26c63
Parent 235fd63d
Child 63b6ac4b, 21e2b938

Added by Katja Luther almost 4 years ago

missed to add some selection dialogs with last commit

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ClassificationSelectionDialog.java
121 121
            pattern = ((Text)control).getText();
122 122
        }
123 123

  
124
        if (pattern.equals("?")){
124
        if (pattern == null || pattern.equals("?")){
125 125
            model = CdmStore.getService(IClassificationService.class).getUuidAndTitleCache(null, null);
126 126
        }else{
127 127
            model = CdmStore.getService(IClassificationService.class).getUuidAndTitleCache(limitOfInitialElements, pattern);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NameSelectionDialog.java
54 54
            pattern = ((Text)control).getText();
55 55
        }
56 56

  
57
        if (pattern.equals("?")){
57
        if (pattern == null || pattern.equals("?")){
58 58
            model = CdmStore.getService(INameService.class).getUuidAndTitleCache(null, null);
59 59
        }else{
60 60
            model = CdmStore.getService(INameService.class).getUuidAndTitleCache(limitOfInitialElements, pattern);
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java
81 81
            pattern = ((Text)control).getText();
82 82
        }
83 83

  
84
        if (pattern.equals("?")){
84
        if (pattern == null || pattern.equals("?")){
85 85
            model = CdmStore.getService(IReferenceService.class).getUuidAndTitleCache(null,null);
86 86
        }else{
87 87
            model = CdmStore.getService(IReferenceService.class).getUuidAndTitleCache(limitOfInitialElements,pattern);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)