Book a Demo

Author Topic: Wots the "Output" tab for?  (Read 3593 times)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Wots the "Output" tab for?
« on: April 21, 2005, 06:13:51 pm »
What does the Output tab ctl-shift-8 do?

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Wots the "Output" tab for?
« Reply #1 on: April 21, 2005, 07:17:29 pm »
It can be written to by Add-ins using the Repository.WriteOutput() method.
The Sparx Team
[email protected]

michael_rainwater

  • EA User
  • **
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: Wots the "Output" tab for?
« Reply #2 on: April 22, 2005, 06:42:26 am »
OK -- I just tried Ctrl-Shift-8... and my screen turned upside down. :-)

Really...  It has nothing to do with EA though.  I have an HP monitor that can be pivoted to either portrait or landscape mode.  It has some software running in my tray called Pivot Pro.

Apparently, that shortcut key is used by Pivot Pro to turn the screen upside down.

But what a shock it was to see my model flip around.  And using the mouse upside down is a trip.  It took me a minute to realize what had happened.

ok -- I realize this isn't an EA thing.  Back to topic.  ::)

thomaskilian

  • Guest
Re: Wots the "Output" tab for?
« Reply #3 on: May 09, 2006, 07:55:17 am »
And what's the 3rd parameter for? Except when omitted it will not output anything...

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Wots the "Output" tab for?
« Reply #4 on: May 09, 2006, 04:36:11 pm »
Quote
And what's the 3rd parameter for? Except when omitted it will not output anything...

This is an ID of your own devising and is passed on to the EA_OnOutputItemClicked and EA_OnOutputItemDoubleClicked events. You might want to use the ID as an index into an array of context information. An example of use would be for your add-in to respond to users double-clicking an error message by opening a diagram and selecting the affected element: potentially very powerful.

:)
The Sparx Team
[email protected]

thomaskilian

  • Guest
Re: Wots the "Output" tab for?
« Reply #5 on: May 10, 2006, 12:31:41 am »
Thanks, Neil. Sounds interesting :) Up to now I just used it for debugging purposes...