Jump to Source code programmatically from tool window

I have a tool window displaying a bunch of log entries. The log includes the class location with line numbers where ever applicable. I need to add the capability to jump to the correct source code file and the line number when a user clicks on a log entry. Can someone point me in the right direction.

Note that I have the class and the line number. How do i make the jump to the source code? Thank you

Comment actions Permalink
Official comment

see com.intellij.openapi.fileEditor.OpenFileDescriptor

Comment actions Permalink

Thank you, will look into this and respond


Please sign in to leave a comment.