public abstract class FileSelectorSourceImpl extends java.lang.Object implements FileSelectorSource
Constructor and Description |
---|
FileSelectorSourceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
configureGrid(FileSelectionWidget fileSelectionWidget,
<any> grid) |
void |
configureToolbar(FileSelectionWidget fileSelectionWidget,
ToolBar toolbar) |
boolean |
consumes(SelectedFileWrapper value) |
DownloadProperties |
getDownloadPropertiesFor(SelectedFileWrapper selectedItem) |
ImageResource |
getIconFor(SelectedFileWrapper value) |
java.lang.String |
getTypeDescription(SelectedFileWrapper value) |
void |
init(FileSelectionWidget fileSelectionWidget) |
boolean |
isDownloadEnabled(SelectedFileWrapper item) |
boolean |
isEditNameEnabled(SelectedFileWrapper selectedItem) |
boolean |
isValid() |
public void configureToolbar(FileSelectionWidget fileSelectionWidget, ToolBar toolbar)
configureToolbar
in interface FileSelectorSource
public void configureGrid(FileSelectionWidget fileSelectionWidget, <any> grid)
configureGrid
in interface FileSelectorSource
public void init(FileSelectionWidget fileSelectionWidget)
init
in interface FileSelectorSource
public boolean consumes(SelectedFileWrapper value)
consumes
in interface FileSelectorSource
public ImageResource getIconFor(SelectedFileWrapper value)
getIconFor
in interface FileSelectorSource
public boolean isEditNameEnabled(SelectedFileWrapper selectedItem)
isEditNameEnabled
in interface FileSelectorSource
public boolean isDownloadEnabled(SelectedFileWrapper item)
isDownloadEnabled
in interface FileSelectorSource
public DownloadProperties getDownloadPropertiesFor(SelectedFileWrapper selectedItem)
getDownloadPropertiesFor
in interface FileSelectorSource
public java.lang.String getTypeDescription(SelectedFileWrapper value)
getTypeDescription
in interface FileSelectorSource
public boolean isValid()
isValid
in interface FileSelectorSource