Revision 4d6934d9
Added by Andreas Müller about 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ClassificationSelectionDialog.java | ||
---|---|---|
25 | 25 |
* |
26 | 26 |
* @author n.hoffmann |
27 | 27 |
* @created Sep 21, 2009 |
28 |
* @version 1.0 |
|
29 | 28 |
*/ |
30 | 29 |
public class ClassificationSelectionDialog extends |
31 | 30 |
AbstractFilteredCdmResourceSelectionDialog<Classification> { |
... | ... | |
76 | 75 |
title, multi, settings, classification); |
77 | 76 |
} |
78 | 77 |
|
79 |
// /* |
|
80 |
// * (non-Javadoc) |
|
81 |
// * |
|
82 |
// * @see |
|
83 |
// * org.eclipse.ui.dialogs.FilteredItemsSelectionDialog#createExtendedContentArea |
|
84 |
// * (org.eclipse.swt.widgets.Composite) |
|
85 |
// */ |
|
86 |
// /** {@inheritDoc} */ |
|
87 |
// @Override |
|
88 |
// protected Control createExtendedContentArea(Composite parent) { |
|
89 |
// return null; |
|
90 |
// } |
|
91 |
|
|
92 |
/* |
|
93 |
* (non-Javadoc) |
|
94 |
* |
|
95 |
* @see |
|
96 |
* eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog |
|
97 |
* #getPersistentObject(java.util.UUID) |
|
98 |
*/ |
|
99 | 78 |
/** {@inheritDoc} */ |
100 | 79 |
@Override |
101 | 80 |
protected Classification getPersistentObject(UUID cdmUuid) { |
102 | 81 |
return CdmStore.getService(IClassificationService.class).load(cdmUuid); |
103 | 82 |
} |
104 | 83 |
|
105 |
/* |
|
106 |
* (non-Javadoc) |
|
107 |
* |
|
108 |
* @see |
|
109 |
* eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog |
|
110 |
* #search |
|
111 |
*/ |
|
112 | 84 |
/** {@inheritDoc} */ |
113 | 85 |
@Override |
114 | 86 |
protected void callService(String pattern) { |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ExtReferenceSelectionDialog.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.ui.dialog.selection; |
10 | 10 |
|
11 |
|
|
12 |
|
|
13 |
|
|
14 | 11 |
import java.util.UUID; |
15 | 12 |
|
16 | 13 |
import org.eclipse.swt.widgets.Shell; |
... | ... | |
33 | 30 |
/** |
34 | 31 |
* @author k.luther |
35 | 32 |
* @date 02.05.2017 |
36 |
* |
|
37 |
|
|
38 | 33 |
*/ |
39 | 34 |
public class ExtReferenceSelectionDialog extends |
40 | 35 |
AbstractFilteredCdmResourceSelectionDialog<Reference> { |
... | ... | |
198 | 193 |
return newRef; |
199 | 194 |
} |
200 | 195 |
|
201 |
/* (non-Javadoc) |
|
202 |
* @see eu.etaxonomy.taxeditor.dialogs.AbstractFilteredCdmResourceSelectionDialog#search |
|
203 |
*/ |
|
204 | 196 |
/** {@inheritDoc} */ |
205 | 197 |
@Override |
206 | 198 |
protected void callService(String pattern) { |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/FeatureTreeSelectionDialog.java | ||
---|---|---|
30 | 30 |
/** |
31 | 31 |
* @author n.hoffmann |
32 | 32 |
* @created Sep 17, 2010 |
33 |
* @version 1.0 |
|
34 | 33 |
*/ |
35 | 34 |
public class FeatureTreeSelectionDialog extends |
36 | 35 |
AbstractFilteredCdmResourceSelectionDialog<FeatureTree> { |
... | ... | |
59 | 58 |
List<FeatureTree> featureTrees = CdmStore.getService(IFeatureTreeService.class).list(FeatureTree.class, null, null, null, null); |
60 | 59 |
|
61 | 60 |
if(model == null){ |
62 |
model = new ArrayList<UuidAndTitleCache<FeatureTree>>();
|
|
61 |
model = new ArrayList<>(); |
|
63 | 62 |
} |
64 | 63 |
model.clear(); |
65 | 64 |
for(FeatureTree featureTree : featureTrees){ |
Also available in: Unified diff
cleanup