Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IPartListener(questionabout ipartlistener lifecycle)
IPartListener [message #524872] Sat, 03 April 2010 08:37 Go to next message
Matej Chatrnuch is currently offline Matej ChatrnuchFriend
Messages: 7
Registered: November 2009
Junior Member
Hi guys. I have one problem. I have one editor in my application and one view which is open in placeholder after some button is clicked. Data in this view depends on actually visible editor instantion. When i only change editors by clicking on tabs everything is ok, but when i click on view area and after change aditor no action of ipartlistener is fired no more.

If its possible i need help quickly.Thanks a lot!
Re: IPartListener [message #524907 is a reply to message #524872] Sat, 03 April 2010 18:26 Go to previous messageGo to next message
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 168
Registered: July 2009
Senior Member
Hi Matej,

> When i only
> change editors by clicking on tabs everything is ok, but when i click on
> view area and after change aditor no action of ipartlistener is fired no
> more.

try to implement the setFocus method in all your view and editor classes and give focus a
control in the view/editor. The workbench requires this (see IWorkbenchPart#setFocus) and
you might see problems like you've described when you don't implement this method.

Greetings,

Ralf


--
http://www.ralfebert.de/blog/
http://twitter.com/ralfebert/
Re: IPartListener [message #524991 is a reply to message #524907] Mon, 05 April 2010 07:08 Go to previous message
Matej Chatrnuch is currently offline Matej ChatrnuchFriend
Messages: 7
Registered: November 2009
Junior Member
Thank you Ralf for yout reply. I try it.
Previous Topic:Help view not restored after resetting perspective
Next Topic:Widget is disposed
Goto Forum:
  


Current Time: Mon Sep 23 07:48:49 GMT 2024

Powered by FUDForum. Page generated in 0.02698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top