Revision b0ce5b17
Added by Patrick Plitzner over 10 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/grantedAuthority/GrantedAuthorityDetailWizardPage.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 |
package eu.etaxonomy.taxeditor.ui.section.grantedAuthority; |
11 | 11 |
|
12 |
import org.eclipse.swt.SWT; |
|
13 |
|
|
14 | 12 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
15 | 13 |
import eu.etaxonomy.cdm.model.common.GrantedAuthorityImpl; |
16 | 14 |
import eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage; |
17 | 15 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
18 | 16 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
19 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.DetailType; |
|
20 | 17 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
21 | 18 |
|
22 | 19 |
/** |
... | ... | |
34 | 31 |
@Override |
35 | 32 |
public AbstractCdmDetailElement<GrantedAuthorityImpl> createElement( |
36 | 33 |
ICdmFormElement rootElement) { |
37 |
GrantedAuthorityDetailElement authorityElement = (GrantedAuthorityDetailElement) formFactory.createCdmDetailElement(DetailType.GRANTEDAUTHORITY, rootElement, SWT.NULL);
|
|
34 |
GrantedAuthorityDetailElement authorityElement = formFactory.createGrantedAuthorityDetailElement(rootElement);
|
|
38 | 35 |
authorityElement.setEntity(getEntity()); |
39 | 36 |
return authorityElement; |
40 | 37 |
} |
Also available in: Unified diff
merged trunk into branch