From: <ju...@us...> - 2006-07-11 14:07:30
|
Revision: 582 Author: julienq Date: 2006-07-11 07:07:20 -0700 (Tue, 11 Jul 2006) ViewCVS: http://svn.sourceforge.net/urakawa/?rev=582&view=rev Log Message: ----------- AddSiblingSectionEvent added Modified Paths: -------------- trunk/urakawa/application/Obi/Obi/Obi.csproj Added Paths: ----------- trunk/urakawa/application/Obi/Obi/Events/Node/AddSiblingSectionEventArgs.cs Added: trunk/urakawa/application/Obi/Obi/Events/Node/AddSiblingSectionEventArgs.cs =================================================================== --- trunk/urakawa/application/Obi/Obi/Events/Node/AddSiblingSectionEventArgs.cs (rev 0) +++ trunk/urakawa/application/Obi/Obi/Events/Node/AddSiblingSectionEventArgs.cs 2006-07-11 14:07:20 UTC (rev 582) @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Text; + +using urakawa.core; + +namespace Obi.Events.Node +{ + public delegate void AddSiblingSectionHandler(object sender, AddSiblingSectionEventArgs e); + + /// <summary> + /// This event is fired when a view wants to add a new sibling section node in the core tree. + /// </summary> + class AddSiblingSectionEventArgs : EventArgs + { + private CoreNode mContextNode; // the node after which to add the new sibling + + public CoreNode ContextNode + { + get + { + return mContextNode; + } + } + + public AddSiblingSectionEventArgs(CoreNode contextNode) + { + mContextNode = contextNode; + } + } +} Property changes on: trunk/urakawa/application/Obi/Obi/Events/Node/AddSiblingSectionEventArgs.cs ___________________________________________________________________ Name: svn:executable + * Modified: trunk/urakawa/application/Obi/Obi/Obi.csproj =================================================================== --- trunk/urakawa/application/Obi/Obi/Obi.csproj 2006-07-11 13:45:46 UTC (rev 581) +++ trunk/urakawa/application/Obi/Obi/Obi.csproj 2006-07-11 14:07:20 UTC (rev 582) @@ -92,6 +92,7 @@ <Compile Include="Dialogs\UserProfile.Designer.cs"> <DependentUpon>UserProfile.cs</DependentUpon> </Compile> + <Compile Include="Events\Node\AddSiblingSectionEventArgs.cs" /> <Compile Include="Events\Node\CreatedEventArgs.cs" /> <Compile Include="Events\Project\StateChangedEventArgs.cs" /> <Compile Include="Localizer.cs" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |