Book a Demo

Author Topic: Docking after creating a window with AddWindow  (Read 4843 times)

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Docking after creating a window with AddWindow
« on: July 25, 2013, 05:44:32 pm »
Hi

I am using AddWindow to add a user control to EA - all works fine in that that appears OK under addIn windows and I can drag and dock as needed within the UI, however I can't see a method to dock the window programmatically and provide that better user experience of the window appear and visible to the user as expected!

I assume I have missed something - or perhaps its not documented or possible.  

Anybody know?
Thanks
EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Docking after creating a window with AddWindow
« Reply #1 on: July 25, 2013, 07:07:26 pm »
These settings are stored in %APPDATA%\Sparx Systems\EA\Workspace Layouts. You might be able to decode it, but it's probably not easy. Additionally you might ask for a new feature.

q.
« Last Edit: July 25, 2013, 07:09:40 pm by qwerty »

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Docking after creating a window with AddWindow
« Reply #2 on: July 25, 2013, 11:24:11 pm »
Hi qwerty

Thanks for the information - had a quick look and nothing springs out.  As you say some decoding.

I'll have another look but in the meantime I think there will need to be a message to ask the user to get the window, place it where they want it and create a new workspace layout!

Not sure a feature request would appear within the desired timescales  ;D
 
Regards
EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Docking after creating a window with AddWindow
« Reply #3 on: July 26, 2013, 01:08:55 am »
Sounds like a reasonable solution :-)

q.

japanfather

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Docking after creating a window with AddWindow
« Reply #4 on: September 03, 2013, 09:58:16 pm »
Could you tell me how to create the ActiveX custom control to be docked to Enterprise Architect by addWindow()  ?

Is there any tutorial for it?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Docking after creating a window with AddWindow
« Reply #5 on: September 03, 2013, 10:08:51 pm »
The docking can only be achieved manually. There might be a chance to hack what EA stores in the above mentioned files. But then you need to restart EA so it reads the file and applies the layout.

q.