Package clips.delegate.shedule

Examples of clips.delegate.shedule.SheduleHelper


        collaborator = collab;
        fireContainerEventStateChanged();
       
        spl = new SheduleProrumbleLocal(collaborator);
        sil = new SheduleIndividualLocal(collaborator);
        SheduledDay sheduledDay = new SheduleHelper(spl, sil)
                .getSheduledDay(new Day(cal.getTimeInMillis()));
        if(!sheduledDay.isWorking()) {
            srl = null;
            throw new WeekendException(sheduledDay.getDescription());
        }
View Full Code Here


                } else {
                    it = sil.daySelector(currentWeekIndex, dayOfWeek);
                }

                Day day = currentWeekIndex.getDay(dayOfWeek);
                SheduledDay sheduledDay = new SheduleHelper(spl, sil).getSheduledDay(day);
                if (!sheduledDay.isWorking()) {
                    String desc = sheduledDay.getDescription();
                    toScreen += (desc == null) ?
                        "Выходной день\n" : "Выходной день:"+ sheduledDay.getDescription() + "\n";
                }
View Full Code Here

     */
    private void initNewTableModel(DayUI gui, WeekIndex weekIndex, DayOfWeek dayOfWeek,
            SheduleIndividualLocal sil, SheduleProrumbleLocal spl) throws ClipsException {

        Day day = weekIndex.getDay(dayOfWeek);
        SheduledDay sheeduledDay = new SheduleHelper(spl, sil).getSheduledDay(day);
           
        gui.table.setEnabled(true);
        gui.columnName.setText(day + dayOfWeek.getShortTitle());

        ComboOption option = options.get(sheeduledDay.getProrumbleItem());
View Full Code Here

        planPlacement.removeAll();
        realPlacement.removeAll();

        SheduleProrumbleLocal spl = new SheduleProrumbleLocal(collaborator);
        SheduleIndividualLocal sil = new SheduleIndividualLocal(collaborator);
        SheduleHelper sh = new SheduleHelper(spl, sil);
       
        SheduledDay sheduledDay = sh.getSheduledDay(new Day(cal.getTimeInMillis()));
        if(!sheduledDay.isWorking()) {
            srl = null;
            throw new WeekendException(sheduledDay.getDescription());
        }
View Full Code Here

TOP

Related Classes of clips.delegate.shedule.SheduleHelper

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.