Book a Demo

Author Topic: EA_OnOutputItemDoubleClicked what has been clicke?  (Read 3717 times)

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
EA_OnOutputItemDoubleClicked what has been clicke?
« on: August 31, 2011, 05:11:00 am »
Hi @all
i stepped over a stupid problem.
iam currently writing a model validation addin.
i check some rules on some elements and publish the results via
ea.project.publishResult(..);
here my problem starts.
i want to allow the users to doubleclick on the errors in the output window and provide e.g. possibilities to fix the errors (doubleclick the error -> be asked if the error should be fixed somehow -> yes, no....)

with the parameters the method provides me iam not able to find the connection between the error in the output and the rule which caused the error output.


public void EA_OnOutputItemDoubleClicked(EA.Repository repository, String tabname, String linetext,long id)

tabname is surely "model validation"
id seems to be a random #
the linetext doesnt help either because at the time of publishing the error i cant know which text will appear in the line.

any ideas?

Thanks

stao

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA_OnOutputItemDoubleClicked what has been cli
« Reply #1 on: September 01, 2011, 06:50:24 am »
I know that from System Output where you write a log line you must provide a number. This is used for the double clicked method to let you know which line was clicked. But I have no idea how they handle it with the output in a different tab.

q.