C# Class Tomboy.TaskManager.CheckDoneVisitor

Visitor that checks upwards whether the changes in the level below (task -> subtask or tasklist -> task) Made the corresponding task complete (in terms of every child is done) or incomplete The correspondonding policies can be adjusted via the Task class
Inheritance: Visitor
Mostra file Open project: rggjan/Tomboy-Todo-List

Public Methods

Method Description
CheckDoneVisitor ( bool done ) : System

Expects whether we are checking for 'new' tasks/tasklists to mark as done or not done

visit ( Note n ) : void
visit ( Task task ) : void
visit ( TaskList taskList ) : void

Method Details

CheckDoneVisitor() public method

Expects whether we are checking for 'new' tasks/tasklists to mark as done or not done
public CheckDoneVisitor ( bool done ) : System
done bool /// A ///
return System

visit() public method

public visit ( Note n ) : void
n Note
return void

visit() public method

public visit ( Task task ) : void
task Task
return void

visit() public method

public visit ( TaskList taskList ) : void
taskList TaskList
return void