How to sync a view with the editor? [message #216020] |
Fri, 12 May 2006 09:36 |
Eclipse User |
|
|
|
Originally posted by: rajakididi.hotmail.com
Hi everyone
I am trying to create a view similar to the Outline View available with
Eclipse. This view will list down all the models available in the Editor
build on gef.
What I need is whenever the user will select any model from the view the
model should get highlighted and must get visible in the sense that area
of the editor should come in view where that model is drawn.
Can anyone please suggest how can I create something like this?
Thanks in advance
Melanie
|
|
|
Re: How to sync a view with the editor? [message #216207 is a reply to message #216020] |
Tue, 16 May 2006 07:34 |
Eclipse User |
|
|
|
Originally posted by: rajakididi.hotmail.com
Hey all
No response from anyone :(
seems like no one has any idea regarding this...anyways i am trying on my
own still...
any suggestions and ideas are needed
Thanks..!!!
Melanie
|
|
|
|
Re: How to sync a view with the editor? [message #216344 is a reply to message #216336] |
Wed, 17 May 2006 10:07 |
Eclipse User |
|
|
|
Originally posted by: rajakididi.hotmail.com
Thanks for the reply.
I am now working on similar lines as the Outline View.
This class also gets the Selection Synchronizer of the Editor and then
pass the viewer as you have explained.
I am working on it and will get back to you if need some more help.
Thanks
Melanie
|
|
|
Re: How to sync a view with the editor? [message #218866 is a reply to message #216336] |
Tue, 04 July 2006 06:50 |
Eclipse User |
|
|
|
Originally posted by: reinalt.gmail.com
I hv a Sample View where i want to reflect the changes made in the
currently opened Editor.... I hv set the selectionProvider ... how do i
know in SampleView whther there has been sm changes in the editor?????
thnx
reinalt
|
|
|
Powered by
FUDForum. Page generated in 0.03046 seconds