SIL.FieldWorks.XWorks.DTMenuHandler.OnDataTreeDelete C# (CSharp) Method

OnDataTreeDelete() public method

This method is called when a user selects a Delete operation for a slice. The menu item is defined in DataTreeInclude.xml with message="DataTreeDelete"
public OnDataTreeDelete ( object cmd ) : bool
cmd object
return bool
		public virtual bool OnDataTreeDelete(object cmd)
		{
			Command command = (Command) cmd;
			DeleteObject(command);
			return true;	//we handled this.
		}