Revision 3271c92d
Added by Katja Luther almost 7 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/command/DynamicNewObjectMenu.java | ||
---|---|---|
41 | 41 |
.getLogger(DynamicNewObjectMenu.class); |
42 | 42 |
|
43 | 43 |
private final IHandlerService handlerService = (IHandlerService) BulkEditorUtil.getService(IHandlerService.class); |
44 |
private Map<Object, String> classLabelPairs; |
|
44 |
private Map<? extends Object, String> classLabelPairs;
|
|
45 | 45 |
|
46 | 46 |
/** {@inheritDoc} */ |
47 | 47 |
@Override |
... | ... | |
88 | 88 |
* Get class label pairs from Annotated Line Editor's entity creator. |
89 | 89 |
* @return |
90 | 90 |
*/ |
91 |
private Map<Object, String> getClassLabelPairs() { |
|
91 |
private Map<? extends Object, String> getClassLabelPairs() {
|
|
92 | 92 |
IEditorPart editor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor(); |
93 | 93 |
if (editor != null){ |
94 | 94 |
IEditorInput input = editor.getEditorInput(); |
Also available in: Unified diff
fix #6570: add comparator to treemap to provide the correct order in rank drop down