External/Aga.Controls/Tree/ITreeModel.cs
author StephaneLenclud
Mon, 02 Feb 2015 20:58:28 +0100
branchMiniDisplay
changeset 448 10c04c79527e
permissions -rw-r--r--
Sync: Adding shamap and documentation to enable easier sync next time OHM is updated.
moel@345
     1
using System;
moel@345
     2
using System.Collections.Generic;
moel@345
     3
using System.Text;
moel@345
     4
using System.Collections;
moel@345
     5
moel@345
     6
namespace Aga.Controls.Tree
moel@345
     7
{
moel@345
     8
	public interface ITreeModel
moel@345
     9
	{
moel@345
    10
		IEnumerable GetChildren(TreePath treePath);
moel@345
    11
		bool IsLeaf(TreePath treePath);
moel@345
    12
moel@345
    13
		event EventHandler<TreeModelEventArgs> NodesChanged; 
moel@345
    14
		event EventHandler<TreeModelEventArgs> NodesInserted;
moel@345
    15
		event EventHandler<TreeModelEventArgs> NodesRemoved; 
moel@345
    16
		event EventHandler<TreePathEventArgs> StructureChanged;
moel@345
    17
	}
moel@345
    18
}