public class SelectUserOrRoleDialog
extends org.pentaho.gwt.widgets.client.dialogs.PromptDialogBox
com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
Constructor and Description |
---|
SelectUserOrRoleDialog(com.google.gwt.xml.client.Document fileInfo,
ArrayList<String> existing,
IUserRoleSelectedCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
fetchAllRoles(ArrayList<String> existing,
com.google.gwt.xml.client.Document fileInfo) |
void |
fetchAllUsers(ArrayList<String> existing,
com.google.gwt.xml.client.Document fileInfo) |
static List<String> |
getSelectedItemsText(com.google.gwt.user.client.ui.ListBox listBox) |
static List<String> |
getSelectedItemsValue(com.google.gwt.user.client.ui.ListBox listBox) |
static String |
getSelectedRole() |
static String |
getSelectedUser() |
getCallback, getContent, getValidatorCallback, onCancel, onKeyDownPreview, onNotOk, onOk, setCallback, setContent, setValidatorCallback
block, center, getPageBackground, initializePageBackground, onPopupClosed, setFocusWidget, show
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText
clear, getCellElement, getWidget, iterator, remove, setWidget
addAutoHidePartner, addCloseHandler, addPopupListener, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
add, adopt, adopt, disown, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public SelectUserOrRoleDialog(com.google.gwt.xml.client.Document fileInfo, ArrayList<String> existing, IUserRoleSelectedCallback callback)
public void fetchAllRoles(ArrayList<String> existing, com.google.gwt.xml.client.Document fileInfo)
public void fetchAllUsers(ArrayList<String> existing, com.google.gwt.xml.client.Document fileInfo)
public static String getSelectedUser()
public static List<String> getSelectedItemsText(com.google.gwt.user.client.ui.ListBox listBox)
public static List<String> getSelectedItemsValue(com.google.gwt.user.client.ui.ListBox listBox)
public static String getSelectedRole()
Copyright © 2021 Hitachi Vantara. All rights reserved.