Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » What eclipse Runnable/Job I should use to display progress on my view?
What eclipse Runnable/Job I should use to display progress on my view? [message #329518] Thu, 26 June 2008 14:15 Go to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

Hey,

I am going to use an eclipse runnable/job to do some long term
task asynchroniously with the eclipse main UI and display progress
on an eclipse viewer. The task needs to access to some UI components
on the viewer(e.g. table, text). I tried IRunnableWithProgress,
it displays the progress on a popped up dialog which is not what
I want. I want the progress information is displayed on the button
of the view. What eclipse runnable/job I should use?

Thanks.


Raymond
Re: What eclipse Runnable/Job I should use to display progress on my view? [message #330310 is a reply to message #329518] Fri, 25 July 2008 01:14 Go to previous message
Eclipse UserFriend
Originally posted by: puneet82sri.yahoo.com

Try this:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().run(tru e, false,new IRunnableWithProgress()
{
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException
{
// TODO Auto-generated method stub
}}
);
Previous Topic:Launching eclipse ganymede - "No application id has been found"
Next Topic:Re: Refactor JFace Data Binding
Goto Forum:
  


Current Time: Fri May 30 20:33:17 EDT 2025

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

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

Back to the top