Package net.sourceforge.processdash.ev

Examples of net.sourceforge.processdash.ev.EVScheduleFiltered


        taskList.addRecalcListener(this);
        this.filter = filter;
        if (filter == null) {
            schedule = taskList.getSchedule();
        } else {
            schedule = new EVScheduleFiltered(tl, filter);
        }
        this.ctx = ctx;
        if (ctx instanceof ApplicationEventSource)
            ((ApplicationEventSource) ctx).addApplicationEventListener(this);
       
View Full Code Here


            ((ApplicationEventSource) ctx).removeApplicationEventListener(this);
    }

    public void evRecalculated(EventObject e) {
        if (schedule instanceof EVScheduleFiltered) {
            EVScheduleFiltered filtSched = (EVScheduleFiltered) schedule;
            EVTaskFilter filter = filtSched.getFilter();
            String valid = filter.getAttribute(EVTaskFilter.IS_INVALID);
            if (valid == null)
                filtSched.recalculate();
            else
                dispose();
        }
    }
View Full Code Here

    private EVSchedule getEvSchedule(EVTaskFilter taskFilter) {
        if (taskFilter == null)
            return evModel.getSchedule();
        else
            return new EVScheduleFiltered(evModel, taskFilter);
    }
View Full Code Here

    private EVSchedule getEvSchedule(EVTaskList evModel,
            EVTaskFilter taskFilter) {
        if (taskFilter == null)
            return evModel.getSchedule();
        else
            return new EVScheduleFiltered(evModel, taskFilter);
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.ev.EVScheduleFiltered

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.