I just started working on visual studio for Add-in in Enterprise Architect Tool. I have successfully created over all structure in C#. But unable to fetch one small condition.
i.e., I have a created connector and n-number of elements. Now I am using this connector to create connection between these elements.
What I want to do is AUTODelete the connector when I use it between wrong elements, let us assume elements A & B and connector C connecting between elements A & B. And we also have elements D, E, F & G.
And when I try to create connection using Connector-C between D,E,F & G other than between elements A & B. The connector should not get connected instead it should be deleted with a POP-UP, Saying that this is not a valid connection.
Can anyone please write me back a condition or a method for this?
Can anyone please help me completing this.