public class UnassigningUsersAlert extends ModalViewWithUiHandlers<GroupsUIHandlers>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
UnassigningUsersAlert.AlertMessages
Alert message builder
|
(package private) static interface |
UnassigningUsersAlert.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.html.Text |
deleteSelectedAlert
The warning message text field
|
private TaggedName |
groupAccount
Group account for which this alert is displayed
|
private UnassigningUsersAlert.AlertMessages |
messages
The alert message builder
|
(package private) org.gwtbootstrap3.client.ui.Modal |
modal
The underlined modal dialog
|
(package private) org.gwtbootstrap3.client.ui.Button |
noAction
The cancel no button
|
private TaggedName[] |
selectedUserAccounts
The selected users accounts for which this alert is displayed
|
(package private) org.gwtbootstrap3.client.ui.Button |
yesAction
The approval yes button
|
logger
Constructor and Description |
---|
UnassigningUsersAlert(UnassigningUsersAlert.Binder binder,
UnassigningUsersAlert.AlertMessages messages)
Constructs this view used by by MPV gwtplatform of ArcBees Inc.
|
Modifier and Type | Method and Description |
---|---|
protected org.gwtbootstrap3.client.ui.Modal |
getModal()
Provides an access to the target modal dialog.
|
(package private) void |
onNoAction(com.google.gwt.event.dom.client.ClickEvent e)
The No button click handler.
|
(package private) void |
onYesAction(com.google.gwt.event.dom.client.ClickEvent e)
The Yes button click handler.
|
void |
setAlert(TaggedName groupAccount,
TaggedName[] selectedUserAccounts)
Setups this alert view.
|
addHideHandler, addShowHandler
getUiHandlers, setUiHandlers
@UiField org.gwtbootstrap3.client.ui.Modal modal
@UiField org.gwtbootstrap3.client.ui.html.Text deleteSelectedAlert
@UiField org.gwtbootstrap3.client.ui.Button yesAction
@UiField org.gwtbootstrap3.client.ui.Button noAction
private final UnassigningUsersAlert.AlertMessages messages
private TaggedName[] selectedUserAccounts
private TaggedName groupAccount
@Inject public UnassigningUsersAlert(UnassigningUsersAlert.Binder binder, UnassigningUsersAlert.AlertMessages messages)
binder
- The injected GWT UI Bindermessages
- The injected alert message builder@UiHandler(value="yesAction") void onYesAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click event@UiHandler(value="noAction") void onNoAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click eventpublic void setAlert(TaggedName groupAccount, TaggedName[] selectedUserAccounts)
groupAccount
- The group accountselectedUserAccounts
- The selected users from the provided group accountprotected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<GroupsUIHandlers>