External/Aga.Controls/Tree/ITreeModel.cs
author moel.mich
Tue, 24 Jul 2012 16:45:48 +0000
changeset 372 2de3a3e5f0b5
permissions -rw-r--r--
Changed the RAM implementation (removed Microsoft.VisualBasic dependency which is not implemented in Mono) and added code to prevent RAM hardware from loading on Linux.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.Text;
     4 using System.Collections;
     5 
     6 namespace Aga.Controls.Tree
     7 {
     8 	public interface ITreeModel
     9 	{
    10 		IEnumerable GetChildren(TreePath treePath);
    11 		bool IsLeaf(TreePath treePath);
    12 
    13 		event EventHandler<TreeModelEventArgs> NodesChanged; 
    14 		event EventHandler<TreeModelEventArgs> NodesInserted;
    15 		event EventHandler<TreeModelEventArgs> NodesRemoved; 
    16 		event EventHandler<TreePathEventArgs> StructureChanged;
    17 	}
    18 }