External/Aga.Controls/Tree/ITreeModel.cs
author StephaneLenclud
Mon, 02 Feb 2015 12:51:06 +0100
branchMiniDisplay
changeset 436 e9aefd454d1e
permissions -rw-r--r--
At last we can output stuff on our display.
The whole thing is still quite broken though.
Rebase: No start-up but that's ok.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Collections;
     5 
     6 namespace Aga.Controls.Tree
     7 {
     8 	public interface ITreeModel
     9 	{
    10 		IEnumerable GetChildren(TreePath treePath);
    11 		bool IsLeaf(TreePath treePath);
    12 
    13 		event EventHandler<TreeModelEventArgs> NodesChanged; 
    14 		event EventHandler<TreeModelEventArgs> NodesInserted;
    15 		event EventHandler<TreeModelEventArgs> NodesRemoved; 
    16 		event EventHandler<TreePathEventArgs> StructureChanged;
    17 	}
    18 }