public static void AddDragAndDropHandler(ProjectBrowserDropHandler dropHandler) { if (customDragAndDropHandlers == null) { customDragAndDropHandlers = new List <ProjectBrowserDropHandler>(); } if (!customDragAndDropHandlers.Contains(dropHandler)) { customDragAndDropHandlers.Add(dropHandler); } }
public static void RemoveDropHandler(ProjectBrowserDropHandler handler) { RemoveDropHandler(DragAndDropWindowTarget.projectBrowser, handler); }
public static Action AddDropHandler(ProjectBrowserDropHandler handler) { return(AddDropHandler(kProjectBrowserDropDstId, handler)); }
public static Action AddDropHandler(ProjectBrowserDropHandler handler, bool isDefault = false) { return(AddDropHandler(kProjectBrowserDropDstId, handler, isDefault)); }
public static void RemoveDragAndDropHandler(ProjectBrowserDropHandler dropHandler) { customDragAndDropHandlers.Remove(dropHandler); }