Making the ProgressView appear [message #453531] |
Tue, 01 August 2006 14:04 |
Graham Leggett Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi all,
I am having a problem with an existing RCP application and the Progress
dialog / Progress View.
According to all the docs I have read so far, Eclipse v3+ supports
concurrency via the Job interface. The documentation infers (but doesn't
state explicitly) that creating a Job using the Job interface, and running
the "isUser()" method on the Job, should be sufficient to have all
progress handled for you by RCP, in the form of a dialog box that appears,
giving the user the option to "run in the background". After this the
Progress View alerts the user to ongoing progress.
In my case I have created a long running Job, and I have confirmed that
the Job is running using the debugger, I cannot for the life of me
convince the eclipse framework to display either the isUser() dialog box,
or the progress view.
I have run the method
Alchemy_eclipsePlugin.getDefault().getWorkbench().getProgres sService()
method, which I understand to be a requirement for eclipse to set up the
progress monitoring singleton.
I have tried to add an ActionFactory.SHOW_VIEW_MENU to the main menu of
the application in an effort to give the option to display the Progress
View, but when the app is run this menu option is grayed out, with no clue
as to why.
Does anybody have any docs or information on what you need to do _after_
you have set up your Jobs and scheduled them, for the progress dialog and
progress view to display correctly?
Regards,
Graham
--
|
|
|
Powered by
FUDForum. Page generated in 0.03642 seconds