[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

Hello Roman,

According to your links, I think you missunderstood me:

Roman Porotnikov wrote:
In addition, some useful scenarios are described at

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

But there isn't described how I substitute the view with another. I want der overview not to be shown when I select the detail view.



~ 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

Here they use a a pagebook and do not switch between views.

I simply want to switch the view of a perspective dynamically inclusive hand over a parameter to the new view.

best regards,
christian



~
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