resourceLinksLayout.setSpacing(true);
resourceLinksLayout.setMargin(true, false, false, false);
addDetailComponent(resourceLinksLayout);
for (final String resourceName : resourceNames) {
StreamResource.StreamSource streamSource = new StreamSource() {
public InputStream getStream() {
return repositoryService.getResourceAsStream(deployment.getId(), resourceName);
}
};
Link resourceLink = new Link(resourceName, new StreamResource(streamSource, resourceName, ExplorerApp.get()));