Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsAutomatically refresh of a viewer after a perspective switch
https://www.eclipse.org/forums/index.php/mv/msg/155558/490089/#msg_490089
how can I refresh a viewer in a view, after a switch of the perspective?
I have 2 perspectives. On every perspective there is a view with a viewer. When the user now switch between the perspectives the viewer on the current perspective should be refreshed.
I know how I can refresh the viewer, but I dont know in which methode I must implement this refresh or which methode I must override to get this behaviour.
]]>Michelle Davidson2009-10-07T10:05:49-00:00Re: Automatically refresh of a viewer after a perspective switch
https://www.eclipse.org/forums/index.php/mv/msg/155558/490101/#msg_490101
> I know how I can refresh the viewer, but I dont know in which methode I
> must implement this refresh or which methode I must override to get this
> behaviour.
IPerspectiveListener.perspectiveChanged()
- Prakash
Platform UI Team, IBM http://blog.eclipse-tips.com]]>Prakash G.R.2009-10-07T10:46:55-00:00Re: Automatically refresh of a viewer after a perspective switch
https://www.eclipse.org/forums/index.php/mv/msg/155558/490106/#msg_490106
I have implement a IperspectiveListener2 in my View. But the Problem is the method perspectiveChanged() will only invoke, when I do something in the perspective for examble close or open a view. If I switch the perspective then the methode perspectiveActivated will be invoke. But at this moment the old perspective is still opened. And I don'g get my view from the new perspective.
]]>Michelle Davidson2009-10-07T11:35:39-00:00Re: Automatically refresh of a viewer after a perspective switch
https://www.eclipse.org/forums/index.php/mv/msg/155558/490107/#msg_490107
Michelle Davidson2009-10-07T11:43:52-00:00