External/Aga.Controls/Tree/ITreeModel.cs
author moel.mich
Tue, 24 Jul 2012 16:04:30 +0000
changeset 371 c1a0d321e646
permissions -rw-r--r--
Added a wrapper for the NotifyIconAdv to use the normal NotifyIcon class on Linux systems and the (fixed) custom implementation on Windows systems.
     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 }