[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: change the view of a perspective

In addition, some useful scenarios are described at

http://www-128.ibm.com/developerworks/opensource/library/os-ecllink

~
Roman

Roman Porotnikov wrote:
Christian,

the typical solution is to use a listener-based approach with the Selection Service:

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


~ Roman

Christian Herrmann wrote:
Hello,

I want to make a simple coding:

There is a view with a table on a given perspective containing i.e. cars. When a car of the table is clicked, the view of the perspective should be switched to a detailed view on the perspective with more information about the clicked car.

Problems:
1) How can the overview-view tell its perspective to change the view to the detail-car-view?
2) How can I parametrise the detailed-car-View with a parameter (Identifier of the clicked car)?


best regards,
christian