Package org.libreplan.web.planner.order

Examples of org.libreplan.web.planner.order.IOrderPlanningGate


                companyPlanningController, orderPlanningController, orderDAO,
                breadcrumbs, parameters, this));

        resourceLoadTab = ResourcesLoadTabCreator.create(mode,
                resourceLoadController,
                resourceLoadControllerGlobal, new IOrderPlanningGate() {

                    @Override
                    public void goToScheduleOf(Order order) {
                        getTabsRegistry()
                                .show(planningTab, changeModeTo(order));
                    }

                    @Override
                    public void goToOrderDetails(Order order) {
                        // it do nothing
                    }

                    @Override
                    public void goToTaskResourceAllocation(Order order,
                            TaskElement task) {
                        orderPlanningController.setShowedTask(task);
                        orderPlanningController.setCurrentControllerToShow(orderPlanningController.getEditTaskController());
                        getTabsRegistry()
                                .show(planningTab, changeModeTo(order));
                    }

                    @Override
                    public void goToDashboard(Order order) {
                        // do nothing
                    }

                }, breadcrumbs);

        limitingResourcesTab = LimitingResourcesTabCreator.create(mode,
                limitingResourcesController, limitingResourcesControllerGlobal,
                breadcrumbs);

        ordersTab = OrdersTabCreator.create(mode, orderCRUDController,
                breadcrumbs, new IOrderPlanningGate() {

                    @Override
                    public void goToScheduleOf(Order order) {
                        getTabsRegistry()
                                .show(planningTab, changeModeTo(order));
View Full Code Here

TOP

Related Classes of org.libreplan.web.planner.order.IOrderPlanningGate

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.