Confirmed users
595
edits
No edit summary |
|||
| Line 54: | Line 54: | ||
For each dropped item this method performs the following actions: | For each dropped item this method performs the following actions: | ||
# Determine what mime types of objects are being dragged (from the <code>PlacesControllerDragHelper.currentDataTransfer</code> cached object), and compares this list of types supported as droppable with the list of flavors supported by Places' Views (<code>PlacesControllerDragHelper.GENERIC_VIEW_DROP_TYPES</code>). | # Determine what mime types of objects are being dragged (from the <code>PlacesControllerDragHelper.currentDataTransfer</code> cached object), and compares this list of types supported as droppable with the list of flavors supported by Places' Views (<code>PlacesControllerDragHelper.GENERIC_VIEW_DROP_TYPES</code>). | ||
# In case this is a tab drag&drop converts data to an acceptable flavor. | # In case this is a tab drag & drop converts data to an acceptable flavor. | ||
# Unwrap the data, generate insertion or copy transactions, aggregates the transaction and executes them through the transaction manager. | # Unwrap the data, generate insertion or copy transactions, aggregates the transaction and executes them through the transaction manager. | ||