Package de.mhus.lib.vaadin.aqua

Examples of de.mhus.lib.vaadin.aqua.Desktop


            )
          ) ).build();
     
      ConfigUtil.dump(deskModel,System.out);
     
      Desktop desk = new Desktop(deskModel);
      mainWindow.addComponent(desk.getRoot());
      ((VerticalLayout)mainWindow.getContent()).setExpandRatio(desk.getRoot(), 1);
      mainWindow.getContent().setSizeFull();
     
      IConfig dir = MConfigFactory.getInstance().createConfigFor(MSystem.locateResource(this, "dir.xml").toURI());
      IConfig dir2 = dir.getConfig("dir1");
      desk.setSelectedPath(new ConfigNavigationNode(dir2));
//      ((VerticalLayout)mainWindow.getContent()).setExpandRatio(kill, 0);
     
      VerticalLayout form = new VerticalLayout();
      //form.setSizeFull();
      buildWithPojo(form);
      form.setMargin(true);
      desk.getContentArea().addPanel(new ContentPanel("Form", form, null, false));
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
View Full Code Here

TOP

Related Classes of de.mhus.lib.vaadin.aqua.Desktop

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.