C# Class Tomboy.TaskManager.TaskManagerNoteAddin

Class that describes behaviour of Notes (in terms of TaskManager features)
Inheritance: Tomboy.NoteAddin
Afficher le fichier Open project: rggjan/Tomboy-Todo-List Class Usage Examples

Méthodes publiques

Méthode Description
DeserializeTasklists ( ) : void

Loads (in terms of Tasks and Tasklists) the contents of a note

FixList ( ) : void

Fixes all the items in the fix_list

Initialize ( ) : void

Initialize the Note (but no loading/buffer yet)

OnNoteOpened ( ) : void

Loads the content of the buffer, sets up GUI

OnPriorityClicked ( Task t ) : bool
Repair ( object o, EventArgs args ) : void

Do all the Buffer modifications that can not be done during the actual events

Shutdown ( ) : void
StartListeners ( ) : void

Start all the TextBuffer listeners, + the keyrelease repair listener.

StopListeners ( ) : void

Stop all the TextBuffer listeners, + the keyrelease repair listener

TaskManagerNoteAddin ( ) : System
TaskManagerNoteAddin ( Note note ) : System

This constructor is used in Unit tests to initialize the addin for notes created in the tests on-the-fly. It calls the underlying Initialize function in NoteAddin which takes care of the rest.

ValidateTaskLists ( ) : void

Look for deleted tasks and delete them from the internal structures, if necessary

Private Methods

Méthode Description
BufferInsertText ( object o, Gtk args ) : void

Check for changes (related to taskmanager) when text is written into the buffer

DeleteRange ( object o, Gtk args ) : void

Listener for delete events, repairs tasks if necessary...

Method Details

DeserializeTasklists() public méthode

Loads (in terms of Tasks and Tasklists) the contents of a note
public DeserializeTasklists ( ) : void
Résultat void

FixList() public méthode

Fixes all the items in the fix_list
public FixList ( ) : void
Résultat void

Initialize() public méthode

Initialize the Note (but no loading/buffer yet)
public Initialize ( ) : void
Résultat void

OnNoteOpened() public méthode

Loads the content of the buffer, sets up GUI
public OnNoteOpened ( ) : void
Résultat void

OnPriorityClicked() public méthode

public OnPriorityClicked ( Task t ) : bool
t Task
Résultat bool

Repair() public méthode

Do all the Buffer modifications that can not be done during the actual events
public Repair ( object o, EventArgs args ) : void
o object /// A ///
args System.EventArgs /// A ///
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

StartListeners() public méthode

Start all the TextBuffer listeners, + the keyrelease repair listener.
public StartListeners ( ) : void
Résultat void

StopListeners() public méthode

Stop all the TextBuffer listeners, + the keyrelease repair listener
public StopListeners ( ) : void
Résultat void

TaskManagerNoteAddin() public méthode

public TaskManagerNoteAddin ( ) : System
Résultat System

TaskManagerNoteAddin() public méthode

This constructor is used in Unit tests to initialize the addin for notes created in the tests on-the-fly. It calls the underlying Initialize function in NoteAddin which takes care of the rest.
public TaskManagerNoteAddin ( Note note ) : System
note Tomboy.Note /// A for which we want the TaskManager Addin functionality. ///
Résultat System

ValidateTaskLists() public méthode

Look for deleted tasks and delete them from the internal structures, if necessary
public ValidateTaskLists ( ) : void
Résultat void