Class SelectUserOrRoleDialog

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.safehtml.client.HasSafeHtml, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasHTML, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.MouseListener, com.google.gwt.user.client.ui.PopupListener, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>, EventListener

    public class SelectUserOrRoleDialog
    extends org.pentaho.gwt.widgets.client.dialogs.PromptDialogBox
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.pentaho.gwt.widgets.client.dialogs.DialogBox

        org.pentaho.gwt.widgets.client.dialogs.DialogBox.DialogMinimumHeightCategory, org.pentaho.gwt.widgets.client.dialogs.DialogBox.DialogSizingMode, org.pentaho.gwt.widgets.client.dialogs.DialogBox.DialogWidthCategory, org.pentaho.gwt.widgets.client.dialogs.DialogBox.JsDialogContext
      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.DialogBox

        com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel

        com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

        com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
    • Field Summary

      • Fields inherited from class org.pentaho.gwt.widgets.client.dialogs.PromptDialogBox

        cancelButton, notOkButton, okButton
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class org.pentaho.gwt.widgets.client.dialogs.PromptDialogBox

        getCallback, getContent, getValidatorCallback, onCancel, onKeyDownPreview, onNotOk, onOk, setCallback, setContent, setValidatorCallback
      • Methods inherited from class org.pentaho.gwt.widgets.client.dialogs.DialogBox

        autoFocusOpenJsDialog, block, center, closeOpenJsDialog, doAutoFocus, getAriaDescribedBy, getAriaRole, getFocusButtons, getFocusWidget, getMinimumHeightCategory, getPageBackground, getRestoreFocusWidget, getSizingMode, getWidthCategory, hide, initializePageBackground, isJsDialogOpen, isResponsive, isRestoreFocus, onPopupClosed, onResize, openJsDialog, setAriaDescribedBy, setAriaRole, setAriaRole, setAutoFocus, setFocusButtons, setFocusWidget, setMinimumHeightCategory, setModal, setPopupPositionAndShow, setResponsive, setRestoreFocus, setRestoreFocusWidget, setSizingMode, setWidthCategory, show, syncOpenJsDialogButtons, syncOpenJsDialogRestoreFocus
      • Methods inherited from class com.google.gwt.user.client.ui.DialogBox

        beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText
      • Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel

        clear, getCellElement, getWidget, iterator, remove, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.PopupPanel

        addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, 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, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setPopupPosition, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
      • Methods inherited from class com.google.gwt.user.client.ui.SimplePanel

        add, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, adopt, orphan, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        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
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • Method Detail

      • fetchAllRoles

        public void fetchAllRoles​(ArrayList<String> existing,
                                  com.google.gwt.xml.client.Document fileInfo)
      • fetchAllUsers

        public void fetchAllUsers​(ArrayList<String> existing,
                                  com.google.gwt.xml.client.Document fileInfo)
      • getSelectedUser

        public static String getSelectedUser()
      • getSelectedItemsText

        public static List<String> getSelectedItemsText​(com.google.gwt.user.client.ui.ListBox listBox)
      • getSelectedItemsValue

        public static List<String> getSelectedItemsValue​(com.google.gwt.user.client.ui.ListBox listBox)
      • getSelectedRole

        public static String getSelectedRole()