Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Pure E4 Application and E3 Workbench dependencies
Pure E4 Application and E3 Workbench dependencies [message #1016240] Tue, 05 March 2013 10:33 Go to next message
Pierre GAUTIER is currently offline Pierre GAUTIER
Messages: 12
Registered: August 2010
Junior Member
Hi,


I'm working on a pure E4 application and I've faced several times a dependency to E3 workbench resulting in :

Caused by: java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)

Mostly I've been able to handle it with workarounds but couldn't for at least two times : first with GEF and now with the ProvisioningWizardDialog (org.eclipse.equinox.p2.ui).

Is there a known way to by pass this problem ? Or should I try to load the workbench some way or maybe use the compatibility layer ?

I'd love to avoid this last solution ...


Thank you in advance for your answers and sorry if the question has already been addressed, I have not found a clear answer.

Re: Pure E4 Application and E3 Workbench dependencies [message #1021931 is a reply to message #1016240] Wed, 20 March 2013 20:10 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi Pierre,

You must use the compatibility layer if you want to address 3x code.

Regards,

Wim


> Hi,
>
>
> I'm working on a pure E4 application and I've faced several times a
dependency to E3 workbench resulting in :
>
> Caused by: java.lang.IllegalStateException: Workbench has not been created
yet.
> at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
>
> Mostly I've been able to handle it with workarounds but couldn't for at
least two times : first with GEF and now with the ProvisioningWizardDialog
(org.eclipse.equinox.p2.ui).
>
> Is there a known way to by pass this problem ? Or should I try to load the
workbench some way or maybe use the compatibility layer ?
>
> I'd love to avoid this last solution ...
>
>
> Thank you in advance for your answers and sorry if the question has already
been addressed, I have not found a clear answer.
Previous Topic:Authentication
Next Topic:CNF view missing move and rename menu items
Goto Forum:
  


Current Time: Wed Aug 20 18:27:07 EDT 2014

Powered by FUDForum. Page generated in 0.08090 seconds