C# Класс Tomboy.TaskManager.TaskManagerNoteAddin

Class that describes behaviour of Notes (in terms of TaskManager features)
Наследование: Tomboy.NoteAddin
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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...

Описание методов

DeserializeTasklists() публичный Метод

Loads (in terms of Tasks and Tasklists) the contents of a note
public DeserializeTasklists ( ) : void
Результат void

FixList() публичный Метод

Fixes all the items in the fix_list
public FixList ( ) : void
Результат void

Initialize() публичный Метод

Initialize the Note (but no loading/buffer yet)
public Initialize ( ) : void
Результат void

OnNoteOpened() публичный Метод

Loads the content of the buffer, sets up GUI
public OnNoteOpened ( ) : void
Результат void

OnPriorityClicked() публичный Метод

public OnPriorityClicked ( Task t ) : bool
t Task
Результат bool

Repair() публичный Метод

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 ///
Результат void

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void

StartListeners() публичный Метод

Start all the TextBuffer listeners, + the keyrelease repair listener.
public StartListeners ( ) : void
Результат void

StopListeners() публичный Метод

Stop all the TextBuffer listeners, + the keyrelease repair listener
public StopListeners ( ) : void
Результат void

TaskManagerNoteAddin() публичный Метод

public TaskManagerNoteAddin ( ) : System
Результат System

TaskManagerNoteAddin() публичный Метод

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. ///
Результат System

ValidateTaskLists() публичный Метод

Look for deleted tasks and delete them from the internal structures, if necessary
public ValidateTaskLists ( ) : void
Результат void