Reputation: 287
Is there any Api's from which we will be able to know an Element is Double clicked from EA Project browser or an element is Double clicked from EA Diagram workspace.
Is there any Api's or method from which we can disable right click option on elements from EA Diagram workspace.
Upvotes: 0
Views: 169
Reputation: 36305
EA_OnContextItemDoubleClicked
confirmsThis event occurs when a user has double-clicked (or pressed the Enter key) on the item in context, either in a diagram, in the Project Browser or in a custom compartment. Add-Ins to handle events can subscribe to this broadcast function.
EA_OnContextItemChanged
has no way to tell EA anything. In contrast (same issue as above) if you can figure out that it's from the diagram EA_OnContextItemDoubleClicked
can tell EA that you have handled everything and it will not open the properties. But that does not work for context menu clicks.Upvotes: 1