Author Topic: ShowInProjectView seems to close my Addin windows  (Read 2652 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
ShowInProjectView seems to close my Addin windows
« on: March 16, 2023, 04:32:33 am »
This may be a feature, a bug, or my bad coding, but every time I call Repository.ShowInProjectView, all of my EA addin windows get closed.
EA 16.1, 64 bit.
Is this the expected behaviour ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: ShowInProjectView seems to close my Addin windows
« Reply #1 on: March 16, 2023, 04:04:12 pm »
This may be a feature, a bug, or my bad coding, but every time I call Repository.ShowInProjectView, all of my EA addin windows get closed.
EA 16.1, 64 bit.
Is this the expected behaviour ?
You mean like popup's? Or windows in the main view or add-in window space?
The latter definitely works for me. I haven't tested this situation from a popup window.

Geert

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: ShowInProjectView seems to close my Addin windows
« Reply #2 on: March 16, 2023, 09:14:06 pm »
I've started to use EA 'addins' windows for some of my products, as it allows the user to move the windows around. Drawback is the lack of control.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: ShowInProjectView seems to close my Addin windows
« Reply #3 on: March 21, 2023, 08:14:24 pm »
It seems that, as soon as the user clicks on any element in any diagram (which puts the properties of that element into the current properties window) then the 'Addins' window goes away.
@Sparx - is this the expected behaviour ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: ShowInProjectView seems to close my Addin windows
« Reply #4 on: March 21, 2023, 09:32:35 pm »
It seems that, as soon as the user clicks on any element in any diagram (which puts the properties of that element into the current properties window) then the 'Addins' window goes away.
@Sparx - is this the expected behaviour ?
Ian, did you dock the add-ins window (at a different location as the properties window)?
I use this add-in window all the time, and it stays visible regardless of what a user does.

But the window has to be docked (not floating)

Geert

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: ShowInProjectView seems to close my Addin windows
« Reply #5 on: March 23, 2023, 08:01:35 pm »
I'm finding it hard to create a consistent test case for this. I've raised it as a bug to Sparx, but i'm not 100% convinced it really is a bug. Programmer error ?
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com