@Dependent @Templated public class NewRoleAssignmentViewImpl extends Object implements CaseRolesPresenter.NewRoleAssignmentView
Constructor and Description |
---|
NewRoleAssignmentViewImpl() |
Modifier and Type | Method and Description |
---|---|
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
String |
getGroupName() |
String |
getRoleName() |
String |
getUserName() |
void |
hide() |
void |
init() |
void |
init(CaseRolesPresenter presenter) |
void |
onAssignClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onCancelClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onCloseClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
show(Set<String> roles,
org.uberfire.mvp.Command okCommand) |
@PostConstruct public void init()
public void init(CaseRolesPresenter presenter)
init
in interface org.uberfire.client.mvp.UberElement<CaseRolesPresenter>
public void show(Set<String> roles, org.uberfire.mvp.Command okCommand)
show
in interface CaseRolesPresenter.NewRoleAssignmentView
public void hide()
hide
in interface CaseRolesPresenter.NewRoleAssignmentView
public String getRoleName()
getRoleName
in interface CaseRolesPresenter.NewRoleAssignmentView
public String getUserName()
getUserName
in interface CaseRolesPresenter.NewRoleAssignmentView
public String getGroupName()
getGroupName
in interface CaseRolesPresenter.NewRoleAssignmentView
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.IsElement
@EventHandler(value="assign") public void onAssignClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="cancel") public void onCancelClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="close") public void onCloseClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.