Revision 139902da
Added by Patrick Plitzner over 10 years ago
- completely removed DetailType enum and all its uses
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/group/GroupDetailWizardPage.java | ||
---|---|---|
1 | 1 |
// $Id$ |
2 | 2 |
/** |
3 | 3 |
* Copyright (C) 2007 EDIT |
4 |
* European Distributed Institute of Taxonomy
|
|
4 |
* European Distributed Institute of Taxonomy |
|
5 | 5 |
* http://www.e-taxonomy.eu |
6 |
*
|
|
6 |
* |
|
7 | 7 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
8 | 8 |
* See LICENSE.TXT at the top of this package for the full license terms. |
9 | 9 |
*/ |
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.ui.section.group; |
12 | 12 |
|
13 |
import org.eclipse.swt.SWT; |
|
14 |
|
|
15 | 13 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
16 | 14 |
import eu.etaxonomy.cdm.model.common.Group; |
17 | 15 |
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage; |
18 | 16 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
19 | 17 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
20 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.DetailType; |
|
21 | 18 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
22 | 19 |
|
23 | 20 |
/** |
... | ... | |
44 | 41 |
@Override |
45 | 42 |
public AbstractCdmDetailElement<Group> createElement( |
46 | 43 |
ICdmFormElement rootElement) { |
47 |
GroupDetailElement groupElement = (GroupDetailElement) formFactory.createCdmDetailElement(DetailType.GROUP, rootElement, SWT.NULL);
|
|
44 |
GroupDetailElement groupElement = formFactory.createGroupDetailElement(rootElement);
|
|
48 | 45 |
return groupElement; |
49 | 46 |
} |
50 | 47 |
|
Also available in: Unified diff