External/Aga.Controls/Tree/ITreeModel.cs
author moel.mich
Sun, 27 May 2012 16:08:54 +0000
changeset 346 f652ab1e06e2
permissions -rw-r--r--
Added the small modifications to the Aga.Controls required by the Open Hardware Monitor.
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
}