Example #1
0
 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));
 }
Example #4
0
 public static Action AddDropHandler(ProjectBrowserDropHandler handler, bool isDefault = false)
 {
     return(AddDropHandler(kProjectBrowserDropDstId, handler, isDefault));
 }
Example #5
0
 public static void RemoveDragAndDropHandler(ProjectBrowserDropHandler dropHandler)
 {
     customDragAndDropHandlers.Remove(dropHandler);
 }