External/Aga.Controls/Tree/ITreeModel.cs
changeset 345 0c551e8818e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/External/Aga.Controls/Tree/ITreeModel.cs	Sun May 27 15:16:19 2012 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +using System;
     1.5 +using System.Collections.Generic;
     1.6 +using System.Text;
     1.7 +using System.Collections;
     1.8 +
     1.9 +namespace Aga.Controls.Tree
    1.10 +{
    1.11 +	public interface ITreeModel
    1.12 +	{
    1.13 +		IEnumerable GetChildren(TreePath treePath);
    1.14 +		bool IsLeaf(TreePath treePath);
    1.15 +
    1.16 +		event EventHandler<TreeModelEventArgs> NodesChanged; 
    1.17 +		event EventHandler<TreeModelEventArgs> NodesInserted;
    1.18 +		event EventHandler<TreeModelEventArgs> NodesRemoved; 
    1.19 +		event EventHandler<TreePathEventArgs> StructureChanged;
    1.20 +	}
    1.21 +}