List of usage examples for com.vaadin.ui VerticalLayout getParent
@Override
public HasComponents getParent()
From source file:org.escidoc.browser.ui.maincontent.ItemContent.java
License:Open Source License
private void wrap(final VerticalLayout verticalLayout) { try {// ww w. j a v a2 s . c o m if (userIsPermittedToUpdate()) { verticalLayout.setHeight("99%"); final DragAndDropFileUpload dragAndDropFileUpload = new DragAndDropFileUpload(repositories, itemProxy, this, verticalLayout); dragAndDropFileUpload.setSizeFull(); addComponent(dragAndDropFileUpload); verticalLayout.getParent().setWidth("99%"); verticalLayout.getParent().setHeight("99%"); } } catch (final EscidocClientException e) { LOG.error(e.getMessage()); showError(e); } catch (final URISyntaxException e) { LOG.error(e.getMessage()); showError(e); } }