Class FilesListPanel
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.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
org.pentaho.mantle.client.solutionbrowser.filelist.FilesListPanel
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,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.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.InsertPanel
,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,Iterable<com.google.gwt.user.client.ui.Widget>
,IRepositoryFileProvider
,IRepositoryFileTreeListener
public class FilesListPanel
extends com.google.gwt.user.client.ui.FlowPanel
implements IRepositoryFileTreeListener, IRepositoryFileProvider
- Author:
- wseyler
-
Nested Class Summary
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
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
-
Field Summary
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deselect()
int
getFileItem
(int index) int
getFileItemIndex
(FileItem fileItem) List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile>
org.pentaho.gwt.widgets.client.toolbar.Toolbar
boolean
void
onFetchRepositoryFileTree
(org.pentaho.gwt.widgets.client.filechooser.RepositoryFileTree fileTree, List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> trashItems) void
populateFilesList
(SolutionBrowserPanel perspective, SolutionTree solutionTree, com.google.gwt.user.client.ui.TreeItem item, com.google.gwt.core.client.JsArrayString filters) void
selectNextItem
(List<FileItem> currentItems) void
selectPreviousItem
(List<FileItem> currentItems) void
setSelectedFileItems
(List<FileItem> fileItems) void
setShowHiddenFiles
(boolean showHiddenFiles) Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insert
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, 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, onBrowserEvent, onDetach, onLoad, 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, onEnsureDebugId, 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.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
FILES_LABEL_STYLE_NAME
-
-
Constructor Details
-
FilesListPanel
public FilesListPanel()
-
-
Method Details
-
beforeFetchRepositoryFileTree
public void beforeFetchRepositoryFileTree()- Specified by:
beforeFetchRepositoryFileTree
in interfaceIRepositoryFileTreeListener
-
isShowHiddenFiles
public boolean isShowHiddenFiles() -
setShowHiddenFiles
public void setShowHiddenFiles(boolean showHiddenFiles) -
populateFilesList
public void populateFilesList(SolutionBrowserPanel perspective, SolutionTree solutionTree, com.google.gwt.user.client.ui.TreeItem item, com.google.gwt.core.client.JsArrayString filters) -
deselect
public void deselect() -
getSelectedFileItems
-
setSelectedFileItems
-
selectNextItem
-
selectPreviousItem
-
getFileItem
-
getAllFileItems
-
getFileItemIndex
-
getFileCount
public int getFileCount()- Returns:
-
getToolbar
public org.pentaho.gwt.widgets.client.toolbar.Toolbar getToolbar()- Returns:
-
onFetchRepositoryFileTree
public void onFetchRepositoryFileTree(org.pentaho.gwt.widgets.client.filechooser.RepositoryFileTree fileTree, List<org.pentaho.gwt.widgets.client.filechooser.RepositoryFile> trashItems) - Specified by:
onFetchRepositoryFileTree
in interfaceIRepositoryFileTreeListener
-
getRepositoryFiles
- Specified by:
getRepositoryFiles
in interfaceIRepositoryFileProvider
-