Skip to main content


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 15:33 Go to next message
Pierre GAUTIER is currently offline Pierre GAUTIERFriend
Messages: 13
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] Thu, 21 March 2013 00:10 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
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: Fri Apr 26 15:53:51 GMT 2024

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

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

Back to the top