C# 클래스 Tomboy.TaskManager.TaskManagerNoteAddin

Class that describes behaviour of Notes (in terms of TaskManager features)
상속: Tomboy.NoteAddin
파일 보기 프로젝트 열기: rggjan/Tomboy-Todo-List 1 사용 예제들

공개 메소드들

메소드 설명
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