Pre New-Object Events

When you create an Add-In, you can include broadcast events to intercept and respond to requests to create new objects, including elements, connectors, diagram objects, attributes, methods and packages.

Events to intercept

Event

Link

Creation of a new element

 

EA_OnPreNewElement

Creation of a new connector

 

EA_OnPreNewConnector

Creation of a new diagram

 

EA_OnPreNewDiagram

Creation of a new diagram object

 

EA_OnPreNewDiagramObject

Creation of a new element by dropping onto a diagram from the Project Browser or Diagram Toolbox

 

EA_OnPreDropFromTree

Creation of a new attribute

 

EA_OnPreNewAttribute

Creation of a new method

 

EA_OnPreNewMethod

Creation of a new package

 

EA_OnPreNewPackage

Creation of a new glossary term

 

EA_OnPreNewGlossaryTerm