public class DeletingGroupsAlert extends ModalViewWithUiHandlers<GroupsUIHandlers>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
DeletingGroupsAlert.AlertMessages
Alert message templates.
|
(package private) static interface |
DeletingGroupsAlert.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.html.Text |
deleteSelectedAlert
The message text field
|
private DeletingGroupsAlert.AlertMessages |
messages
The alerts builder
|
(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[] |
selectedGroupAccounts
The selected groups requesting an approval to delete
|
(package private) org.gwtbootstrap3.client.ui.Button |
yesAction
The approval button
|
logger
Constructor and Description |
---|
DeletingGroupsAlert(DeletingGroupsAlert.Binder binder,
DeletingGroupsAlert.AlertMessages messages)
Constructs this dialog 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 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[] selectedGroupAccounts)
Provides group accounts to be shown by this dialog in its alert message.
|
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 DeletingGroupsAlert.AlertMessages messages
private TaggedName[] selectedGroupAccounts
@Inject public DeletingGroupsAlert(DeletingGroupsAlert.Binder binder, DeletingGroupsAlert.AlertMessages messages)
binder
- The injected GWT UI creatormessages
- The injected alerts 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[] selectedGroupAccounts)
selectedGroupAccounts
- The selected group accounts to be deleted.protected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<GroupsUIHandlers>