[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Establishing relationship between Different Views

adithya wrote:
Hello,
I have created various views in my perspective.
I want to reflect 'changes' or 'selections' made in one view to reflect in other views.


For eg,if in one view there is a 'tree' showing the names of various tables and in the other view i want to display the "attributes" of the selected "table name" ,how do i do it??

Is there any javadoc or links which are available?

You might want to look at the workbench selection service:

http://www.eclipse.org/articles/Article-WorkbenchSelections/article.html

This should allow you to listen to selection events in other views, and update appropriately.

cheers,
ian

Adithya.