Package com.vaadin.ui

Examples of com.vaadin.ui.Window.addComponent()


        addListener(m_artifactsPanel, ArtifactObject.TOPIC_ALL);
        addListener(m_featuresPanel, GroupObject.TOPIC_ALL);
        addListener(m_distributionsPanel, LicenseObject.TOPIC_ALL);
        addListener(m_targetsPanel, StatefulGatewayObject.TOPIC_ALL);
       
        main.addComponent(m_grid);
       
        LoginWindow loginWindow = new LoginWindow();
        main.getWindow().addWindow(loginWindow);
        loginWindow.center();
    }
View Full Code Here


        ApplicationContext applicationContext = getContext();
        if (applicationContext instanceof PortletApplicationContext2) {
            PortletApplicationContext2 portletCtx = (PortletApplicationContext2) applicationContext;
            portletCtx.addPortletListener(this, this);
        } else {
            mainWindow.addComponent(new Label(getMessage("please.use.from.a.portlet")));
        }
    }

    @Override
    public void withTransaction(final ProcessToolGuiCallback r) {
View Full Code Here

      layout.setComponentAlignment(btnValue, Alignment.BOTTOM_LEFT);

      verticalLayout.addComponent(layout);
    }

    mainWindow.addComponent(verticalLayout);
    setMainWindow(mainWindow);
  }

  private <N extends TextualNumberField<? extends Number>> AbstractComponent getComponent(final List<N> fields) {
    VerticalLayout verticalLayout = new VerticalLayout();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.