java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Tree
org.pentaho.mantle.client.solutionbrowser.tree.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
     
     
    List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile>
     

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    SolutionTree(boolean showTrash)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
     
    List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile>
     
     
    List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile>
     
    getTreeItem(ArrayList<String> pathSegments)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    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
     
    void
     
    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 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
  • Field Details

    • repositoryFileTree

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

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

      public FileTreeItem trashItem
  • Constructor Details

    • SolutionTree

      public SolutionTree(boolean showTrash)
  • Method Details

    • onUserSettingsLoaded

      public void onUserSettingsLoaded(UserSettingsLoadedEvent event)
      Specified by:
      onUserSettingsLoaded in interface UserSettingsLoadedEventHandler
    • 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
    • beforeFetchRepositoryFileTree

      public void beforeFetchRepositoryFileTree()
      Specified by:
      beforeFetchRepositoryFileTree in interface IRepositoryFileTreeListener
    • 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
    • getAllNodes

      public List<FileTreeItem> getAllNodes()
    • getTrashItem

      public FileTreeItem getTrashItem()
    • getTrashItems

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

      public void select(String path)
    • getPathSegments

      public ArrayList<String> getPathSegments(String path)
    • getTreeItem

      public FileTreeItem getTreeItem(ArrayList<String> pathSegments)
    • 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()
    • getRepositoryFiles

      public List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> getRepositoryFiles()
      Specified by:
      getRepositoryFiles in interface IRepositoryFileProvider