Пример #1
0
		public void Construct ()
		{
			data = new NoteData ("http://www.example.com/note");
			note = new NoteDataBufferSynchronizer (data);
		}
Пример #2
0
		Note (NoteData data, string filepath, NoteManager manager)
		{
			this.data = new NoteDataBufferSynchronizer (data);
			this.filepath = filepath;
			this.manager = manager;

			// Make sure each of the tags that NoteData found point to the
			// instance of this note.
			foreach (Tag tag in data.Tags.Values) {
				AddTag (tag);
			}

			save_timeout = new InterruptableTimeout ();
			save_timeout.Timeout += SaveTimeout;

			childWidgetQueue = new Queue <ChildWidgetData> ();
			
			is_deleting = false;
			save_errordlg_active = false;
		}
Пример #3
0
		public void Construct ()
		{
			data = new NoteData ("http://www.example.com/note");
			data.Text = "<note-content>Foo</note-content>";
			note = new NoteDataBufferSynchronizer (data);
			buffer = new NoteBuffer (new TextTagTable ());
		}