External/Aga.Controls/Tree/ITreeModel.cs
author Stephane Lenclud
Sat, 30 Jan 2016 23:01:51 +0100
branchMiniDisplay
changeset 454 f84878f52cd9
permissions -rw-r--r--
Disabling Nuvoton NCT6791D because of fan full speed bug on Asus Z97 WS.
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
}