CanvasService.showDropZone Method

Show drop zones for the adapters.
 

Parameters

adapter

The adapter to shop drop zone on
node

Type: ExplorerNode
The explorer node to get adapter bindings from.

Return Value


Type: Array
ElementType: Object
 An array of objects with the following properties:
     adapter - [type: dundas.view.controls.Adapter] - The adapter for this drop zone.
     bindings - [type: Array] - Plain object containing info for each drop zone rect
         targetId            [type: String]                                          - A unique identifier for this binding.
         targetName          [type: String]                                          - The displayed text for this binding.
         bindingType         [type: dundas.data.PlacementPosition, optional: true]   - (optional) The placement that should be assigned to an analysis element dropped onto this binding. If not specified, it is assigned to rows.
         iconUrl             [type: String, optional: true]                          - (optional) A URL pointing to the icon image to be shown next to the header.
         tooltipText         [type: String, optional: true]                          - (optional) Any tooltip text that should be shown for this binding header.
         rect                [type: dundas.Rect, optional: true]       - (optional) The rectangle co-ordinates for the adorner to display for drop-zones on this adapter.