Lines Matching refs:elements
91 DropFeedback onDropEnter(INode targetNode, IDragElement[] elements) {
93 if (elements.length == 0) {
102 // Collect the ids of the elements being dragged
103 def movedIds = collectIds([:], elements).keySet().asList();
117 drawRelativeDropFeedback(gc, node, elements, feedback);
122 IDragElement[] elements,
151 for (element in elements) {
158 // One more limitation: if we're moving one or more elements, we can't
428 IDragElement[] elements,
496 Rect be = elements[0].getBounds();
500 // for all dropped elements with valid bounds, offset at
519 for (element in elements) {
526 void onDropLeave(INode targetNode, IDragElement[] elements, DropFeedback feedback) {
532 IDragElement[] elements,
543 // Collect IDs from dropped elements and remap them to new IDs
545 def idMap = getDropIdMap(targetNode, elements, feedback.isCopy || !feedback.sameCanvas);
547 targetNode.editXml("Add elements to RelativeLayout") {
549 // Now write the new elements.
550 for (element in elements) {