public class RemovingGroupsAlert extends ModalViewWithUiHandlers<UsersUIHandlers>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
RemovingGroupsAlert.AlertMessages
Defines string resources of this dialog
|
(package private) static interface |
RemovingGroupsAlert.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.html.Text |
deleteSelectedAlert
The message text field
|
private RemovingGroupsAlert.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[] |
selectedUserGroups
The user's groups from which the selected user is about to be removed
|
private TaggedName |
userAccount
The selected user account which being removed from the selected groups
|
(package private) org.gwtbootstrap3.client.ui.Button |
yesAction
The approval button
|
logger
Constructor and Description |
---|
RemovingGroupsAlert(RemovingGroupsAlert.Binder binder,
RemovingGroupsAlert.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 userAccount,
TaggedName[] selectedUserGroups)
Provides selected groups accounts and a user in these groups that this target user is about
to be deleted from these selected groups.
|
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 RemovingGroupsAlert.AlertMessages messages
private TaggedName[] selectedUserGroups
private TaggedName userAccount
@Inject public RemovingGroupsAlert(RemovingGroupsAlert.Binder binder, RemovingGroupsAlert.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 userAccount, TaggedName[] selectedUserGroups)
userAccount
- The target user that is about to be deleted from the selected groups.selectedUserGroups
- The selected accountsprotected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<UsersUIHandlers>