2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.ui
.section
.grantedAuthority
;
11 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
12 import eu
.etaxonomy
.cdm
.model
.permission
.GrantedAuthorityImpl
;
13 import eu
.etaxonomy
.taxeditor
.ui
.element
.AbstractCdmEntityWizardPage
;
14 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
15 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
16 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
19 * @author a.kohlbecker
20 * @created Sept 13 2012
22 public class GrantedAuthorityDetailWizardPage
extends AbstractCdmEntityWizardPage
<GrantedAuthorityImpl
> {
24 public GrantedAuthorityDetailWizardPage(CdmFormFactory formFactory
,
25 ConversationHolder conversation
, GrantedAuthorityImpl entity
) {
26 super(formFactory
, conversation
, entity
);
27 setTitle("Granted Authority");
31 public AbstractCdmDetailElement
<GrantedAuthorityImpl
> createElement(
32 ICdmFormElement rootElement
) {
33 GrantedAuthorityDetailElement authorityElement
= formFactory
.createGrantedAuthorityDetailElement(rootElement
);
34 authorityElement
.setEntity(getEntity());
35 return authorityElement
;