External/Aga.Controls/Tree/ITreeModel.cs
author StephaneLenclud
Sun, 21 Sep 2014 21:55:36 +0200
branchMiniDisplay
changeset 445 fe4c711fd7f8
permissions -rw-r--r--
Support for SharpDisplayManager.
Switching to .NET v4.0 to allow System.ServiceModel.
OxyPlot fix and recompile for .NET v4.0.
FrontView fix to start-up without SoundGraphAccess.exe.
     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 }