Class SolutionTree

  • All Implemented Interfaces:
    com.google.gwt.event.dom.client.HasAllFocusHandlers, com.google.gwt.event.dom.client.HasAllKeyHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.HasKeyDownHandlers, com.google.gwt.event.dom.client.HasKeyPressHandlers, com.google.gwt.event.dom.client.HasKeyUpHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.TreeItem>, com.google.gwt.event.logical.shared.HasOpenHandlers<com.google.gwt.user.client.ui.TreeItem>, com.google.gwt.event.logical.shared.HasSelectionHandlers<com.google.gwt.user.client.ui.TreeItem>, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasFocus, com.google.gwt.user.client.ui.HasTreeItems, com.google.gwt.user.client.ui.HasTreeItems.ForIsWidget, 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.SourcesFocusEvents, com.google.gwt.user.client.ui.SourcesKeyboardEvents, com.google.gwt.user.client.ui.SourcesMouseEvents, com.google.gwt.user.client.ui.SourcesTreeEvents, Iterable<com.google.gwt.user.client.ui.Widget>, UserSettingsLoadedEventHandler, IRepositoryFileProvider, IRepositoryFileTreeListener

    public class SolutionTree
    extends com.google.gwt.user.client.ui.Tree
    implements IRepositoryFileTreeListener, UserSettingsLoadedEventHandler, IRepositoryFileProvider
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.Tree

        com.google.gwt.user.client.ui.Tree.Resources
      • 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.HasTreeItems

        com.google.gwt.user.client.ui.HasTreeItems.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

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

      Fields 
      Modifier and Type Field Description
      org.pentaho.gwt.widgets.client.filechooser.RepositoryFileTree repositoryFileTree  
      FileTreeItem trashItem  
      List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> trashItems  
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      SolutionTree​(boolean showTrash)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeFetchRepositoryFileTree()  
      List<FileTreeItem> getAllNodes()  
      ArrayList<String> getPathSegments​(String path)  
      List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> getRepositoryFiles()  
      FileTreeItem getTrashItem()  
      List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> getTrashItems()  
      FileTreeItem getTreeItem​(ArrayList<String> pathSegments)  
      boolean isAdministrator()  
      boolean isCreateRootNode()  
      boolean isShowHiddenFiles()  
      boolean isShowLocalizedFileNames()  
      boolean isUseDescriptionsForTooltip()  
      void onBrowserEvent​(com.google.gwt.user.client.Event event)  
      void onFetchRepositoryFileTree​(org.pentaho.gwt.widgets.client.filechooser.RepositoryFileTree fileTree, List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> repositoryTrashItems)  
      protected void onLoad()  
      void onUserSettingsLoaded​(UserSettingsLoadedEvent event)  
      void select​(String path)  
      void setAdministrator​(boolean isAdministrator)  
      void setShowHiddenFiles​(boolean showHiddenFiles)  
      void setShowLocalizedFileNames​(boolean showLocalizedFileNames)  
      void setUseDescriptionsForTooltip​(boolean useDescriptionsForTooltip)  
      • Methods inherited from class com.google.gwt.user.client.ui.Tree

        add, add, addBlurHandler, addCloseHandler, addFocusHandler, addFocusListener, addItem, addItem, addItem, addItem, addItem, addKeyboardListener, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addOpenHandler, addSelectionHandler, addTextItem, addTreeListener, clear, doAttachChildren, doDetachChildren, ensureSelectedItemVisible, getItem, getItemCount, getSelectedItem, getTabIndex, insertItem, insertItem, insertItem, insertTextItem, isAnimationEnabled, isKeyboardNavigationEnabled, isScrollOnSelectEnabled, iterator, onEnsureDebugId, remove, remove, removeFocusListener, removeItem, removeItem, removeItems, removeKeyboardListener, removeMouseListener, removeTreeListener, setAccessKey, setAnimationEnabled, setFocus, setScrollOnSelectEnabled, setSelectedItem, setSelectedItem, setTabIndex, treeItemIterator
      • 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, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
    • Field Detail

      • repositoryFileTree

        public org.pentaho.gwt.widgets.client.filechooser.RepositoryFileTree repositoryFileTree
      • trashItems

        public List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> trashItems
    • Constructor Detail

      • SolutionTree

        public SolutionTree​(boolean showTrash)
    • Method Detail

      • onBrowserEvent

        public void onBrowserEvent​(com.google.gwt.user.client.Event event)
        Specified by:
        onBrowserEvent in interface com.google.gwt.user.client.EventListener
        Overrides:
        onBrowserEvent in class com.google.gwt.user.client.ui.Tree
      • onLoad

        protected void onLoad()
        Overrides:
        onLoad in class com.google.gwt.user.client.ui.Tree
      • onFetchRepositoryFileTree

        public void onFetchRepositoryFileTree​(org.pentaho.gwt.widgets.client.filechooser.RepositoryFileTree fileTree,
                                              List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> repositoryTrashItems)
        Specified by:
        onFetchRepositoryFileTree in interface IRepositoryFileTreeListener
      • getTrashItems

        public List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> getTrashItems()
      • select

        public void select​(String path)
      • setShowLocalizedFileNames

        public void setShowLocalizedFileNames​(boolean showLocalizedFileNames)
      • isShowHiddenFiles

        public boolean isShowHiddenFiles()
      • setShowHiddenFiles

        public void setShowHiddenFiles​(boolean showHiddenFiles)
      • isShowLocalizedFileNames

        public boolean isShowLocalizedFileNames()
      • isUseDescriptionsForTooltip

        public boolean isUseDescriptionsForTooltip()
      • setUseDescriptionsForTooltip

        public void setUseDescriptionsForTooltip​(boolean useDescriptionsForTooltip)
      • isAdministrator

        public boolean isAdministrator()
      • setAdministrator

        public void setAdministrator​(boolean isAdministrator)
      • isCreateRootNode

        public boolean isCreateRootNode()