Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Re: Getting the Workbench in e4?
Re: Getting the Workbench in e4? [message #945304] Mon, 15 October 2012 10:38
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6523
Registered: July 2009
Senior Member
Are you running a pure e4 app? To get stuff from org.eclipse.ui you need
to run with the compat layer!

You'd better ask e4 question on the e4-newsgroup which i added as the


Am 12.10.12 15:49, schrieb Alex Kipling:
> I have a commandhandler, where I try t oget the Workbench as following:
> org.eclipse.ui.PlatformUI.getWorkbench();
> @Inject
> private IWorkbench workbench;
> Both approaches fail - return null.
> What is the right way to get the workbench in e4?
Previous Topic:e4 rcp focus on window
Next Topic:E4 application model editor - doesn't open model with imported packages
Goto Forum:

Current Time: Wed Feb 26 23:42:10 GMT 2020

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

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

Back to the top