Revision 9158b598
Added by Katja Luther over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/EditTaxonNodeWizard.java | ||
---|---|---|
13 | 13 |
import java.util.List; |
14 | 14 |
import java.util.Map; |
15 | 15 |
|
16 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
17 |
import org.eclipse.swt.widgets.Shell; |
|
18 |
import org.eclipse.ui.IWorkbench; |
|
19 |
|
|
20 | 16 |
import eu.etaxonomy.cdm.api.service.ITaxonNodeService; |
21 | 17 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
22 | 18 |
import eu.etaxonomy.cdm.persistence.dto.MergeResult; |
... | ... | |
26 | 22 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySession; |
27 | 23 |
import eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled; |
28 | 24 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
29 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
|
30 | 25 |
|
31 | 26 |
/** |
32 | 27 |
* @author k.luther |
... | ... | |
40 | 35 |
private ICdmEntitySession cdmEntitySession; |
41 | 36 |
|
42 | 37 |
|
43 |
@Override |
|
44 |
public void init(IWorkbench workbench, IStructuredSelection selection) { |
|
45 |
formFactory = new CdmFormFactory(getContext().get(Shell.class).getDisplay()); |
|
46 |
conversation = CdmStore.createConversation(); |
|
47 |
} |
|
38 |
// @Override
|
|
39 |
// public void init(IWorkbench workbench, IStructuredSelection selection) {
|
|
40 |
// formFactory = new CdmFormFactory(getContext().get(Shell.class).getDisplay());
|
|
41 |
// conversation = CdmStore.createConversation();
|
|
42 |
// }
|
|
48 | 43 |
|
49 | 44 |
/* (non-Javadoc) |
50 | 45 |
* @see eu.etaxonomy.taxeditor.ui.section.classification.AbstractEditWizard#getEntityName() |
... | ... | |
126 | 121 |
|
127 | 122 |
|
128 | 123 |
|
124 |
|
|
129 | 125 |
} |
Also available in: Unified diff
revert some changes