Author Topic: Open Linked Document in RTF Editor from Add-In  (Read 2934 times)

L.Krobot

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Open Linked Document in RTF Editor from Add-In
« 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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Open Linked Document in RTF Editor from Add-In
« Reply #1 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