public class DeletingUsersAlert extends ModalViewWithUiHandlers<UsersUIHandlers>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
DeletingUsersAlert.AlertMessages
Alert dialog string resources
|
(package private) static interface |
DeletingUsersAlert.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.html.Text |
deleteSelectedAlert
The message text field
|
private DeletingUsersAlert.AlertMessages |
messages
Message templates resources
|
(package private) org.gwtbootstrap3.client.ui.Modal |
modal
The underlined modal dialog
|
(package private) org.gwtbootstrap3.client.ui.Button |
noAction
The cancel button
|
private TaggedName[] |
selectedUserAccounts
The selected users requesting an approval to delete
|
(package private) org.gwtbootstrap3.client.ui.Button |
yesAction
The approval button
|
logger
Constructor and Description |
---|
DeletingUsersAlert(DeletingUsersAlert.Binder binder,
DeletingUsersAlert.AlertMessages messages)
Constructs this view, used 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 cancel button click handler.
|
(package private) void |
onYesAction(com.google.gwt.event.dom.client.ClickEvent e)
The yes approval button click handler.
|
void |
setAlert(TaggedName[] selectedUserAccounts)
Provides selected accounts for which this alert dialog warns that they are about to be
deleted.
|
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 DeletingUsersAlert.AlertMessages messages
private TaggedName[] selectedUserAccounts
@Inject public DeletingUsersAlert(DeletingUsersAlert.Binder binder, DeletingUsersAlert.AlertMessages messages)
binder
- UI creatormessages
- This dialog string resources@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[] selectedUserAccounts)
selectedUserAccounts
- The selected accountsprotected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<UsersUIHandlers>