Revision 4c980025
Added by Andreas Müller over 1 year ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/ExternalReferenceServiceWizardPage.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.taxeditor.newWizard; |
11 | 10 |
|
12 | 11 |
import java.util.List; |
... | ... | |
26 | 25 |
import org.eclipse.swt.widgets.Composite; |
27 | 26 |
import org.eclipse.swt.widgets.Text; |
28 | 27 |
|
29 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
|
30 | 28 |
import eu.etaxonomy.cdm.ext.ipni.IIpniService; |
31 | 29 |
import eu.etaxonomy.cdm.ext.ipni.IpniService; |
32 | 30 |
import eu.etaxonomy.cdm.model.reference.Reference; |
... | ... | |
35 | 33 |
import eu.etaxonomy.taxeditor.ui.element.LayoutConstants; |
36 | 34 |
|
37 | 35 |
/** |
38 |
* <p>ExternalReferenceServiceWizardPage class.</p> |
|
39 |
* |
|
40 | 36 |
* @author n.hoffmann |
41 | 37 |
* @created Sep 16, 2010 |
42 | 38 |
*/ |
43 | 39 |
public class ExternalReferenceServiceWizardPage extends WizardPage implements SelectionListener, ISelectionChangedListener { |
44 | 40 |
|
45 |
private ConversationHolder conversation; |
|
46 | 41 |
private CdmFormFactory formFactory; |
47 | 42 |
private Reference entity; |
48 | 43 |
private Composite control; |
... | ... | |
52 | 47 |
private Text text_query; |
53 | 48 |
private Button button_search; |
54 | 49 |
|
55 |
protected ExternalReferenceServiceWizardPage(CdmFormFactory formFactory, ConversationHolder conversation, Reference entity) {
|
|
50 |
protected ExternalReferenceServiceWizardPage(CdmFormFactory formFactory, Reference entity) { |
|
56 | 51 |
super("ExternalReferenceServiceWizardPage"); |
57 | 52 |
this.formFactory = formFactory; |
58 | 53 |
this.entity = entity; |
59 |
this.conversation = conversation; |
|
60 | 54 |
ipniService = new IpniService(); |
61 | 55 |
|
62 | 56 |
setDescription("Query IPNI service for references"); |
Also available in: Unified diff
ref #10186 further remove ConversationHolder from TaxEditor code and some cleanup