Plugin Development-Custom Editor Layout [message #305003] |
Wed, 21 June 2006 03:08 |
Eclipse User |
|
|
|
Originally posted by: jdobrosi.umd.edu
I'm a student developing an Eclipse plugin to use as a tool when reading
error output from a program written by a fellow student. Essentially, its
a simple debugger that allows one to click on a error message and jump to
the corresponding line of code. However, each error message is in fact
associated to two lines of code in two separate files. Therefore, I want
to be able to, upon clicking an error message, open both files so that
both are viewable at the same time, i.e. have the editor area
automatically split so that one file is on the bottom half of the editor
area, the second on the top half. I know this can be done manually by
clicking and dragging an editor tab in the editor space, but is there a
way to do this automatically in my plugin? I'd appreciate any help or
advice, because I've yet to find anything online that's of any use.
Thanks.
|
|
|
Re: Plugin Development-Custom Editor Layout [message #305015 is a reply to message #305003] |
Wed, 21 June 2006 10:41 |
Camille Messages: 5 Registered: July 2009 |
Junior Member |
|
|
John Dobrosielski a écrit :
> I'm a student developing an Eclipse plugin to use as a tool when reading
> error output from a program written by a fellow student. Essentially,
> its a simple debugger that allows one to click on a error message and
> jump to the corresponding line of code. However, each error message is
> in fact associated to two lines of code in two separate files.
> Therefore, I want to be able to, upon clicking an error message, open
> both files so that both are viewable at the same time, i.e. have the
> editor area automatically split so that one file is on the bottom half
> of the editor area, the second on the top half. I know this can be done
> manually by clicking and dragging an editor tab in the editor space, but
> is there a way to do this automatically in my plugin? I'd appreciate
> any help or advice, because I've yet to find anything online that's of
> any use. Thanks.
>
Hi, I think you can look inside the Subversin SVN comparator plugin, it
makes what you are looking for.
Hope it'shelp you.
Bye
|
|
|
Powered by
FUDForum. Page generated in 0.02993 seconds