Show TOC

 DragSourceInfoLocate this document in the navigation structure

The DragSourceInfo is inserted into a UI element - for example into a Table, to enable you to define this UI element as a drag source.

Description of UI Element Properties
  • data

    This is the text representation of the data to be transported along the way to the drop target.

  • enabled

    This determines whether this DragSourceInfo is enabled. If set to false , the user cannot start a drag action from here.

  • mimeType

    The MIME type describes the format for the data property. The default is to use plain text. We recommend alignment to the MIME types, but you can define any string here.

  • scope

    This defines whether this drag source can only take part in drag-and-drop operations that are local to the enclosing Web Dynpro component instance. Possible values are:

    • componentInstance : The drag-and-drop operation can be executed inside the same component instance.
    • global : The drag-and-drop operation can be executed over component and application boundaries. This includes any Web Dynpro application the same tags are defined for.
  • tags

    A space-separated list of identifiers that is used to determine compatibility of a given drag source with potential drop targets. If the list is empty, no drag can be started from that source.

    We recommend specifying the tags according to these rules:

    ID part allowed characters

    Namespace

    A to Z

     

    a to z

     

    digits from 0 to 9

     

    hyphen -

    ID

    A to Z

     

    a to z

     

    digits from 0 to 9

     

    hyphen -

     

    period .

    Examples:

    • CRM:Customername
    • Name-Space42:com.asap3.first-name
Properties Overview

Name

Interface

Type

Initial Value

Bindable

data

IWDDragSourceInfo

String

 

bindable

enabled

IWDDragSourceInfo

boolean

true

bindable

mimeType

IWDDragSourceInfo

String

text/plain

not bindable

scope

IWDDragSourceInfo

WDDragDropScope

componentInstance

not bindable

tags

IWDDragSourceInfo

String

 

not bindable

More Information

Javadocs on IWDDragSourceInfo: http://help.sap.com/javadocs .