////////////////////////////////////////////////////////////////////////////////
//
// Document2DEvent -    2D 
//
////////////////////////////////////////////////////////////////////////////////

//#define __LIGHT_VERSION__
#if (__LIGHT_VERSION__)
	using Kompas6LTAPI5;
#else
	using Kompas6API5;
#endif

using System;
using Kompas6Constants;
using KAPITypes;

namespace Steps.NET
{
	public class Document2DEvent : BaseEvent, ksDocument2DNotify
	{
		public Document2DEvent(object obj, object doc)
			: base(obj, typeof(ksDocument2DNotify).GUID, doc) {}

		// d3BeginRebuild -   
		public bool BeginRebuild()
		{ 
			return true;
		}


		// d3Rebuild -  
		public bool Rebuild()
		{   
			Global.UpdateSlideBox(null);
			return true;
		}


		// d3BeginChoiceMaterial -   
		public bool BeginChoiceMaterial()
		{ 
			return true;
		}


		// d3hoiceMaterial -   
		public bool ChoiceMaterial(string material, double density)
		{
			return true;
		}


		// d2BeginInsertFragment -    (   )
		public bool BeginInsertFragment()
		{
			return true;
		}


		// d2LocalFragmentEdit
		public bool LocalFragmentEdit(object newDoc, bool newFrw)
		{
			return true;
		}
	}
}