public class GroupDefinitionView extends ModalViewWithUiHandlers<GroupsUIHandlers>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
GroupDefinitionView.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.Button |
cancelAction
The cancel button
|
(package private) org.gwtbootstrap3.client.ui.TextBox |
desc
The group account description
|
private GroupDef |
groupDef
The group definition for adding or editing
|
(package private) org.gwtbootstrap3.client.ui.Modal |
modal
The underlined modal dialog
|
(package private) org.gwtbootstrap3.client.ui.ListBox |
mode
The list box of all available authentication modes
|
(package private) org.gwtbootstrap3.client.ui.TextBox |
name
The group account name
|
(package private) org.gwtbootstrap3.client.ui.ListBox |
plugin
The list box of the custom authentication plugins
|
private TaggedName[] |
pluginValues
Plugin model
|
(package private) org.gwtbootstrap3.client.ui.Button |
saveAction
The save button
|
private UseCaseMode |
usecase
The adding group or editing group use case
|
logger
Constructor and Description |
---|
GroupDefinitionView(GroupDefinitionView.Binder binder)
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 |
onCancelAction(com.google.gwt.event.dom.client.ClickEvent e)
The cancel button click handler.
|
(package private) void |
onSaveAction(com.google.gwt.event.dom.client.ClickEvent e)
The save button click handler.
|
void |
setCustomAuthPlugins(TaggedName[] pluginValues)
Sets the data for the custom authentication list box.
|
void |
setUseCaseMode(UseCaseMode usecase,
GroupDef groupDef)
Sets the adding or editing group use case.
|
addHideHandler, addShowHandler
getUiHandlers, setUiHandlers
@UiField org.gwtbootstrap3.client.ui.Modal modal
@UiField org.gwtbootstrap3.client.ui.TextBox name
@UiField org.gwtbootstrap3.client.ui.TextBox desc
@UiField org.gwtbootstrap3.client.ui.ListBox mode
@UiField org.gwtbootstrap3.client.ui.ListBox plugin
@UiField org.gwtbootstrap3.client.ui.Button saveAction
@UiField org.gwtbootstrap3.client.ui.Button cancelAction
private UseCaseMode usecase
private TaggedName[] pluginValues
private final GroupDef groupDef
@Inject public GroupDefinitionView(GroupDefinitionView.Binder binder)
binder
- The injected GWT UI Binder@UiHandler(value="saveAction") void onSaveAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click event@UiHandler(value="cancelAction") void onCancelAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click eventpublic void setUseCaseMode(UseCaseMode usecase, GroupDef groupDef)
usecase
- The dialog use casegroupDef
- The group definitionpublic void setCustomAuthPlugins(TaggedName[] pluginValues)
pluginValues
- The array of custom authentication pluginsprotected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<GroupsUIHandlers>