Prev | Next |
EA_OnPreDropFromTree
When a user drags any kind of element from the Project Browser onto a diagram, EA_OnPreDropFromTree notifies the Add-In that a new item is about to be dropped onto a diagram. The notification is provided immediately before the element is dropped, so that the Add-In can override the default action that would be taken for this drag.
Syntax
Function EA_OnPreDropFromTree (Repository As EA.Repository, Info As EA.EventProperties) As Boolean
The EA_OnPreDropFromTree function syntax contains these parameters.
Parameter |
Type |
See also |
---|---|---|
Info |
EA.EventProperties Direction: IN Description: Contains these EventProperty objects for the element to be created:
|
EventProperties Class |
Repository |
EA.Repository Direction: IN Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information. |
Repository Class |
Return Value
Return True to allow the default behavior to be executed. Return False if you are overriding this behavior.