synchronizing two views [message #201377] |
Wed, 25 February 2004 07:29 |
Eclipse User |
|
|
|
Hi,
in my plugin i need to 'synchronize' two views,
one view displays some source code and the other
should display breakpoints set in the sourcecode.
if i add a bp in the sourceview it should be displayed
in the breakpoint-view and if i delete a breakpoint in
the breakpoint view a marker should be removed in
the sourcecode-view etc.
atm i'm the views get each other via getSite().getPage().findView("foo")
and then they call some methods to update each other ...
.... but i wonder if there is a more elegant way to do things like that?
thanks for your help in advance
kind regards
jens
|
|
|
Powered by
FUDForum. Page generated in 0.25497 seconds