// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Windows.Input; using System.Windows.Media; namespace ICSharpCode.ILSpy.Debugger.Bookmarks { /// /// The bookmark margin. /// public interface IBookmarkMargin { /// /// Gets the list of bookmarks. /// IList Bookmarks { get; } /// /// Redraws the bookmark margin. Bookmarks need to call this method when the Image changes. /// void Redraw(); } /// /// Represents a bookmark in the bookmark margin. /// public interface IBookmark { /// /// Gets the line number of the bookmark. /// int LineNumber { get; } /// /// Gets the image. /// ImageSource Image { get; } /// /// Gets the Z-Order of the bookmark icon. /// int ZOrder { get; } /// /// Handles the mouse down event. /// void MouseDown(MouseButtonEventArgs e); /// /// Handles the mouse up event. /// void MouseUp(MouseButtonEventArgs e); /// /// Gets whether this bookmark can be dragged around. /// bool CanDragDrop { get; } /// /// Notifies the bookmark that it was dropped on the specified line. /// void Drop(int lineNumber); } }