前页 | 后页 |
EA_OnPreDropFromTree
When a user drags any kind of element from the Browser window 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 BooleanThe EA_OnPreDropFromTree function syntax contains these parameters.
Parameter |
Type |
See also |
---|---|---|
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 |
Info |
EA.EventProperties Direction: IN Description: Contains these EventProperty objects for the element to be created:
|
EventProperties Class |
Return Value
- Return True to allow the default behavior to be executed
- Return False to override this behavior