blob: 25d0053fb2b64c0f0584a283d45d88e099588c2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package com.vaadin.tests.containers;
import java.io.File;
import com.vaadin.data.util.FilesystemContainer;
import com.vaadin.tests.components.TestBase;
import com.vaadin.ui.Table;
public class TableWithFileSystemContainer extends TestBase {
private String testPath = "C:/temp/img";
@Override
public void setup() {
Table table = new Table("Documents", new FilesystemContainer(new File(
testPath)));
table.setWidth("100%");
getMainWindow().addComponent(table);
}
@Override
protected String getDescription() {
return "The Table uses a FileSystemContainer as datasource. Scrolling to the end should show the last items, not throw an NPE.";
}
@Override
protected Integer getTicketNumber() {
return 3864;
}
}
|