Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » When refreshLocal has finished
When refreshLocal has finished [message #667689] Sun, 01 May 2011 11:59 Go to next message
JeTBLaCK  is currently offline JeTBLaCK Friend
Messages: 41
Registered: March 2011
Member
I need know when a refreshLocal command has finished.

How Can I know it?
Re: When refreshLocal has finished [message #667692 is a reply to message #667689] Sun, 01 May 2011 13:49 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
JeTBLaCK wrote on Sun, 01 May 2011 04:59
I need know when a refreshLocal command has finished.

How Can I know it?


Maybe consider a progress monitor?


Re: When refreshLocal has finished [message #667695 is a reply to message #667692] Sun, 01 May 2011 13:56 Go to previous messageGo to next message
JeTBLaCK  is currently offline JeTBLaCK Friend
Messages: 41
Registered: March 2011
Member
My problem is when the refreshLocal() has finished, the Package Explorer is not refreshed simultaneously (sometimes it is neccesary to wait) and I need to know when the Package Explorer has been refreshed.

Should I use a progress monitor?

[Updated on: Sun, 01 May 2011 13:58]

Report message to a moderator

Re: When refreshLocal has finished [message #667697 is a reply to message #667695] Sun, 01 May 2011 14:01 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
JeTBLaCK wrote on Sun, 01 May 2011 06:56
My problem is when the refreshLocal() has finished, the Package Explorer is not refreshed simultaneously (sometimes it is neccesary to wait) and I need to know when the Package Explorer has been refreshed.

Should I use a progress monitor?


Ahh, that's a different issue. It's refreshed I think asynchronously based on resource notifications. I'm not sure how you would find out short of looking at the viewer state, but then you would have to poll it. There might be someting in Jface that could notify you if the viewer changed.


Previous Topic:Listener to Auto-Refresh
Next Topic:Manipulating Working Sets - beginner's questions
Goto Forum:
  


Current Time: Thu Apr 25 23:00:35 GMT 2024

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

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

Back to the top