Revision f5979052
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ClassificationSelectionDialog.java | ||
---|---|---|
15 | 15 |
import org.eclipse.swt.widgets.Shell; |
16 | 16 |
import org.eclipse.swt.widgets.Text; |
17 | 17 |
|
18 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
19 | 18 |
import eu.etaxonomy.cdm.api.service.IClassificationService; |
20 | 19 |
import eu.etaxonomy.cdm.model.taxon.Classification; |
21 | 20 |
import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard; |
... | ... | |
46 | 45 |
* @param curentSelection |
47 | 46 |
* @return a {@link eu.etaxonomy.cdm.model.taxon.TaxonomicTree} object. |
48 | 47 |
*/ |
49 |
public static Classification select(Shell shell, |
|
50 |
ConversationHolder conversation, Classification curentSelection) {
|
|
51 |
ClassificationSelectionDialog dialog = new ClassificationSelectionDialog( |
|
52 |
shell, conversation, "Choose a Classification", false, "", null);
|
|
48 |
public static Classification select(Shell shell,//ConversationHolder conversation,
|
|
49 |
Classification curentSelection) {
|
|
50 |
ClassificationSelectionDialog dialog = new ClassificationSelectionDialog(shell, //conversation,
|
|
51 |
"Choose a Classification", false, "", null);
|
|
53 | 52 |
return getSelectionFromDialog(dialog); |
54 | 53 |
} |
55 | 54 |
|
... | ... | |
72 | 71 |
* @param classification |
73 | 72 |
* a {@link eu.etaxonomy.cdm.model.taxon.TaxonomicTree} object. |
74 | 73 |
*/ |
75 |
protected ClassificationSelectionDialog(Shell shell, |
|
76 |
ConversationHolder conversation, String title, boolean multi,
|
|
74 |
protected ClassificationSelectionDialog(Shell shell,//ConversationHolder conversation,
|
|
75 |
String title, boolean multi,
|
|
77 | 76 |
String settings, Classification classification) { |
78 |
super(shell, conversation, title, multi, settings, classification); |
|
77 |
super(shell, //conversation, |
|
78 |
title, multi, settings, classification); |
|
79 | 79 |
} |
80 | 80 |
|
81 | 81 |
// /* |
Also available in: Unified diff
fix multiple representation by removing conversation of selection dialog