Book a Demo

Author Topic: Repository.WriteOutput(...) is very slow  (Read 4644 times)

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Repository.WriteOutput(...) is very slow
« on: October 21, 2011, 06:18:25 am »
Hi @all
Im currently developing a rulecheck addin.
For this problem i often have to update the output window.
the more error outputs the slower the update of the output will be.
that can be very annoying.
is there any other way to use the output window ? a faster way?
or is there any possibility to delete a SINGLE output window entry?

Thanks
Stao

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Repository.WriteOutput(...) is very slow
« Reply #1 on: October 21, 2011, 08:14:30 am »
Write a log to a file and one single message to the system output in the end.

q.

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Repository.WriteOutput(...) is very slow
« Reply #2 on: October 21, 2011, 08:56:55 am »
i dont rly get what you mean?
i stepped over another possibility to fix my problem.
create my one outputWindow with addWindow(..)
works quite well.
My question now is: wheres the difference between addWindod(..) and addTab(..)?

Stao

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Repository.WriteOutput(...) is very slow
« Reply #3 on: October 21, 2011, 06:41:48 pm »
AddWindow creates a window that can be docked anywhere. AddTab creates a new tab in the "main" diagram window.

Geert

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Repository.WriteOutput(...) is very slow
« Reply #4 on: October 21, 2011, 09:25:46 pm »
ah i see. thank you.