List of usage examples for com.vaadin.ui Embedded setDebugId
@Deprecated public void setDebugId(String id)
From source file:ru.codeinside.gses.webui.form.PrintPanel.java
License:Mozilla Public License
private Panel createDocumentPanel(Application app, String classId) { Embedded document = new Embedded(null, new FileResource(htmlFile, app)); document.setDebugId(classId); document.setType(Embedded.TYPE_BROWSER); document.setSizeFull();/*from ww w . j a va2 s. c o m*/ VerticalLayout documentLayout = new VerticalLayout(); documentLayout.setMargin(true); documentLayout.setSizeFull(); documentLayout.addComponent(document); documentLayout.setExpandRatio(document, 1f); Panel documentPanel = new Panel(documentLayout); documentPanel.setSizeFull(); return documentPanel; }