[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] job dialog ...

Hi all,

I'm trying to create a job dialog similar to the one that appear when you 
start building your project; I mean I dialog with few running process each 
one monitored by a different progress meter . (that can be stopped and .)



Is there any way to customize easily the job dialog that appears 
automatically when you set the user to true?



Right now I'm using a single job that open few threads inside one for each 
subjob (clearly I will only get one meter).



myJob.setProperty(IProgressConstants.KEEP_PROPERTY,

                new Boolean(true));



myJob.addJobChangeListener(new JobChangeAdapter()

  {

  public void done(IJobChangeEvent event)

       {

        if (event.getResult().isOK())

               System.out.println("Job completed successfully");

        else

            System.out.println("Job did not complete successfully");

       }

    });



myJob.setUser(true);

myJob.schedule();



probably I have to create just a dialog that get information from a normal 
thread .



any suggestion?



Regards

Car