Search in sources :

Example 1 with EVScheduleFiltered

use of net.sourceforge.processdash.ev.EVScheduleFiltered in project processdash by dtuma.

the class TaskScheduleChart method evRecalculated.

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();
    }
}
Also used : EVTaskFilter(net.sourceforge.processdash.ev.EVTaskFilter) EVScheduleFiltered(net.sourceforge.processdash.ev.EVScheduleFiltered)

Aggregations

EVScheduleFiltered (net.sourceforge.processdash.ev.EVScheduleFiltered)1 EVTaskFilter (net.sourceforge.processdash.ev.EVTaskFilter)1