How to get IProgressService [message #1132896] |
Fri, 11 October 2013 09:13  |
Eclipse User |
|
|
|
Hello,
I'd just begin to work on e4, I'm using 3.x and I have to migrate our product to e4. I have difficulties to inject IProgressService, it seems to be in the list the of services which can be injected but I've got an error :
no actual value was found for the argument "IProgressService".
What am I doing wrong ?
@PostConstruct
public void createPartControl(Composite parent, MPart part, IProgressService service) {
}
Or maybe there is an other way to get it ?
Thanks.
Bertrand
|
|
|
|
|
Re: How to get IProgressService [message #1140321 is a reply to message #1140294] |
Wed, 16 October 2013 05:22  |
Eclipse User |
|
|
|
Ok I replied too fast.
In 3.x, I m using PlatformUI.getWorkbench().getProgressService() to get the progress service.
But I'm using e4 workbench now so I can not use PlatformUI.getWorkbench() anymore, and I won't create and run 2 workbench (is that possible anyway ?:-/).
I want to migrate to Kepler and the new application layer and continue to reuse eclipse plugin as the org.eclipse.compare, but is that possible ?
Bertrand
|
|
|
Powered by
FUDForum. Page generated in 0.07308 seconds