epsilonlabs / emc-ptcim

EMC driver for the PTC Integrity Modeler
Eclipse Public License 1.0
2 stars 0 forks source link

SelectSymbol/SelectSymbol2 #1

Closed kolovos closed 8 years ago

kolovos commented 8 years ago

It appears that the Artisan API provides methods for selecting (revealing?) diagram elements. If this works as expected it would be useful in terms of traceability between e.g. the EVL validation view and Artisan. Could you please try to add a selectSymbol() method to Artisan model elements to check if it behaves as expected? If so, I can add an extension point to evl.dt so that contributors can use to define custom (navigation) logic for double-click events on the EVL validation view.

arcanefoam commented 8 years ago

This is indeed possible and works as intended. The only caveat is that an element can be used in many diagrams. Which one to use? I guess we could open a pull down menu to select the desired one. Similarly, it appears that an element can appear multiple times in a diagram (See SelectSymbol2, the "Representing Symbol" is an association, but it is not mentioned elsewhere so not clear it is multiple or not). Again resolvable with a drop down for the user.

kolovos commented 8 years ago

For now I'd suggest selecting the first one and we can discuss this with RR in our next call.

On 12 Aug 2016 13:06, "Horacio Hoyos" notifications@github.com wrote:

This is indeed possible and works as intended. The only caveat is that an element can be used in many diagrams. Which one to use? I guess we could open a pull down menu to select the desired one. Similarly, it appears that an element can appear multiple times in a diagram (See SelectSymbol2, the "Representing Symbol" is an association, but it is not mentioned elsewhere so not clear it is multiple or not). Again resolvable with a drop down for the user.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/epsilonlabs/emc-artisan/issues/1#issuecomment-239429424, or mute the thread https://github.com/notifications/unsubscribe-auth/ADawiOvJP6JvIrswA99aMhmkOeWHYYKUks5qfGGngaJpZM4JiAJM .

arcanefoam commented 8 years ago

So can you provide the evl extension points? And a general idea of what the implementaiton should do?

kolovos commented 8 years ago

I'll try to do this within the next couple of days but if I can't manage to complete this by Saturday it will have to wait until the week of the 22nd.

On 12 August 2016 at 13:35, Horacio Hoyos notifications@github.com wrote:

So can you provide the evl extension points? And a general idea of what the implementaiton should do?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/epsilonlabs/emc-artisan/issues/1#issuecomment-239434516, or mute the thread https://github.com/notifications/unsubscribe-auth/ADawiF3VjNdJtWE4T7U4hIzsxz7g575pks5qfGiPgaJpZM4JiAJM .

Dr Dimitris Kolovos Senior Lecturer in Enterprise Systems LSCITS EngD Director Department of Computer Science University of York http://www.cs.york.ac.uk/~dkolovos

EMAIL DISCLAIMER http://www.york.ac.uk/docs/disclaimer/email.htm

arcanefoam commented 8 years ago

This has been implemented in the main epsilon repository.