Package org.zkoss.zul.api

Examples of org.zkoss.zul.api.Window


            private Window createMonteCarloGraphWindow(
                    Map<LocalDate, BigDecimal> data) {
                HashMap<String, Object> args = new HashMap<String, Object>();
                args.put("monteCarloGraphController",
                        new MonteCarloGraphController());
                Window result = (Window) Executions.createComponents(
                        "/planner/montecarlo_function.zul", self, args);
                MonteCarloGraphController controller = (MonteCarloGraphController) result
                        .getVariable("monteCarloGraphController", true);

                final String orderName = monteCarloModel.getOrderName();
                final boolean groupByWeeks = cbGroupByWeeks.isChecked();
                controller.generateMonteCarloGraph(orderName, data,
View Full Code Here


        if (jiraSyncInfoTimesheet != null) {
                args.put("syncTimesheetFailedReasons", new SimpleListModel(
                    jiraSyncInfoTimesheet.getFailedReasons()));
        }

        Window jiraSyncInfoWindow = (Window) Executions.createComponents(
                "/orders/_jiraSyncInfo.zul", null, args);

        try {
            jiraSyncInfoWindow.doModal();
        } catch (SuspendNotAllowedException e) {
            throw new RuntimeException(e);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
View Full Code Here

        StretchesFunctionController stretchesFunctionController = new StretchesFunctionController(
                getGraphicsGenerators());
        stretchesFunctionController.setTitle(getTitle());
        HashMap<String, Object> args = new HashMap<String, Object>();
        args.put("stretchesFunctionController", stretchesFunctionController);
        Window window = (Window) Executions.createComponents(
                "/planner/stretches_function.zul",
                getParentOnWhichOpenWindow(), args);
        Util.createBindingsFor(window);
        ResourceAllocation<?> allocation = getAllocation();
        stretchesFunctionController
View Full Code Here

        args.put("action", synchronizationInfo.getAction());
        args.put("showSuccess", synchronizationInfo.isSuccessful());
        args.put("failedReasons",
                new SimpleListModel(synchronizationInfo.getFailedReasons()));

        Window timImpExpInfoWindow = (Window) Executions.createComponents(
                "/orders/_timImpExpInfo.zul", null, args);

        try {
            timImpExpInfoWindow.doModal();
        } catch (SuspendNotAllowedException e) {
            throw new RuntimeException(e);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
View Full Code Here


    private void showSynchronizationInfo() {
        Map<String, Object> args = new HashMap<String, Object>();

        Window win = (Window) Executions.createComponents(
                "/orders/_synchronizationInfo.zul", null, args);

        Window syncInfoWin = (Window) win.getFellowIfAny("syncInfoWin");

        Grid syncInfoGrid = (Grid) syncInfoWin.getFellowIfAny("syncInfoGrid");

        syncInfoGrid.setModel(new SimpleListModel(getSynchronizationInfos()));

        syncInfoGrid.setRowRenderer(getSynchronizationInfoRenderer());
View Full Code Here

TOP

Related Classes of org.zkoss.zul.api.Window

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.