Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: L.Krobot on May 03, 2015, 11:53:39 pm

Title: Open Linked Document in RTF Editor from Add-In
Post by: L.Krobot on May 03, 2015, 11:53:39 pm
I have developed my own Add-In (C#) and I have the need to open the Linked Document of the selected element in the standard Sparx RTF Editor, automatically and directly from my Add-In. Anyone has an idea how to do this ?
thx.
Title: Re: Open Linked Document in RTF Editor from Add-In
Post by: Geert Bellekens on May 04, 2015, 04:27:54 pm
I don't think there's an operation available in the API to do so.

What you could try is to first select the element in the project browser (Repository.ShowInProjectView) and then user the sendkey's to simulate a CTRL-ALT-D key combination being pressed.

It's kind of a dirty workaround, but it might work.

Geert