External/Aga.Controls/Tree/ITreeModel.cs
author sl
Thu, 01 Jan 2015 23:35:49 +0100
changeset 405 5715aefd2bcc
permissions -rw-r--r--
SharpDisplay: Migrating to new robust client scheme.
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
}