Class SelectUserOrRoleDialog

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.DecoratedPopupPanel
com.google.gwt.user.client.ui.DialogBox
org.pentaho.gwt.widgets.client.dialogs.DialogBox
org.pentaho.gwt.widgets.client.dialogs.PromptDialogBox
org.pentaho.mantle.client.solutionbrowser.fileproperties.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
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectUserOrRoleDialog(com.google.gwt.xml.client.Document fileInfo, ArrayList<String> existing, IUserRoleSelectedCallback callback)
     
  • Method Summary

    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
     
    static String
     

    Methods inherited from class org.pentaho.gwt.widgets.client.dialogs.PromptDialogBox

    getCallback, getContent, getValidatorCallback, onCancel, onKeyDownPreview, onNotOk, onOk, onOkValid, setCallback, setContent, setValidatorCallback

    Methods inherited from class org.pentaho.gwt.widgets.client.dialogs.DialogBox

    autoFocusOpenJsDialog, block, center, closeOpenJsDialog, doAutoFocus, eventTargetsPopupOrPartner, getAriaDescribedBy, getAriaRole, getFocusButtons, getFocusWidget, getMinimumHeightCategory, getPageBackground, getRestoreFocusWidget, getSizingMode, getWidthCategory, hide, initializePageBackground, isJsDialogOpen, isResponsive, isRestoreFocus, onPopupClosed, onPreviewNativeEvent, 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, 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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.gwt.event.shared.HasHandlers

    fireEvent

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

  • Method Details

    • 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()