Beispiel #1
0
        public void End(NSPasteboard aPasteboard, NSDragOperation aOperation)
        {
            DraggableData dragData = new DraggableData(aPasteboard);

            iController.DragEnd(dragData, DragDropManager.Convert(aOperation));

            DragDropManager.Current = null;
        }
Beispiel #2
0
        public NSDragOperation ValidateDrop(INSDraggingInfo aInfo, object aDestination)
        {
            DraggableData dragData = new DraggableData(aInfo.DraggingPasteboard);

            EDragOperation op = iController.ValidateDrag(dragData, aDestination);

            return(DragDropManager.Convert(op));
        }
Beispiel #3
0
        public bool AcceptDrop(INSDraggingInfo aInfo, int aIndex, object aDestination)
        {
            DraggableData dragData = new DraggableData(aInfo.DraggingPasteboard);

            return(iController.AcceptDrop(dragData, aIndex, aDestination));
        }
Beispiel #4
0
        public MediaProviderDraggable Convert(IDataObject aDataObject)
        {
            DraggableData data = new DraggableData(aDataObject);

            return(Convert(data));
        }