Questions tagged [e4]

The Eclipse e4 project is a new Eclipse API available since Eclipse version 4. Use this tag for questions about the Eclipse e4 API provided by the org.eclipse.e4.xxx plugins.

The Eclipse e4 project is a completely new approach of the Eclipse API available since Eclipse 4.

The project has three principal aims:

  • Simplify the Eclipse programming model
  • Enable the platform for use on emerging web-based runtime technologies
  • Broaden participation in development of the platform

Eclipse e4 uses an application model (which is strictly defined in an meta-model) as a basis for Eclipse based applications. This replaces lots of the old Eclipse extension points that were required to create applications, editors, menus, commands, etc.

Eclipse e4 uses the java annotation @inject to provide services, application parts, etc to the classes that make up the Eclipse application.

A broad overview of the new Eclipse e4 API is given in the Eclipse 4 RCP - Building Eclipse RCP applications based on Eclipse 4 tutorial.

Questions about the Eclipse e4 API provided by the org.eclipse.e4.xxx plugins should use . Questions about the old Eclipse API (3.x) should use .

887 questions
106
votes
1 answer

Eclipse RCP - Open a View in the Editor Area (3.8/e4 hybrid)

I'm working on a 3.8-e4 hybrid (i.e we have the Luna dependencies, but we do not use the Application.e4xmi, yet). So we're basically running the compact layer. With that being said, it would be nice to find an e4 programmatic way to stack these…
Georgian
  • 8,795
  • 8
  • 46
  • 87
29
votes
13 answers

I cannot change the font size of package explorer in Eclipse

I try to change the font size of package explorer in Eclipse from menu Window → Preferences → General → Appearance, and I fail to change the font size. How can I do that? I use Eclipse v4.2 (Juno) on Windows 7.
18
votes
6 answers

Eclipse 4 RCP (aka E4) documentation

Is there at least anything other than Vogella's tutorials and his book, which is completely based on those tuts? Examples from his repo are often either incomplete/unfinished/won't run and those examples even don't match the book actually.. I'd…
Dmitry Avtonomov
  • 8,747
  • 4
  • 32
  • 45
10
votes
3 answers

Undo shortcut not working in Eclipse

The last couple of days the Ctrl+Z shortcut (Undo) scrolls down a line (a-la emacs). I tried to switch schemes back and forth, change and redefine the Undo in Default scheme, nothing seems to work. Other combinations (Alt+Ctrl+Z) work fine, other…
denispyr
  • 1,403
  • 3
  • 21
  • 34
7
votes
1 answer

Using e3x property view with e4 Selection service from EMF Model

I built a small e4 RCP application containing both an "e4 xmi" tree view populated by emf generated model code (using ComposedAdapterFactory) and an "e3 properties view". Tried following "dirksmetric tutorial" to display property view in…
WattoWatto
  • 159
  • 8
7
votes
3 answers

How to get the IEclipseContext in an activator

I got stuck on one problem with an Eclipse 4 RCP application. I need to log some events. I need obtain somehow a reference to the logger. I know, how to do that using IEclipseContext, but I've nowhere found, how to obtain IEclipseContext without the…
Theodor Keinstein
  • 1,653
  • 2
  • 26
  • 47
7
votes
3 answers

How to create my own shell to replace the shell created in the MTrimmedWindow in e4 RCP?

Is there a way to replace the shell generated by Eclipse RCP for the MTrimmedWindow by a user defined window? Eclipse creates a shell with a particular style type, which can only be provided while creating. I want to remove maximize and resize…
6
votes
1 answer

NullPointerException in WorkbenchPage.busyShowView

I have a simple view registered normally in my Eclipse plug-in (4.5.2), and it works when I start an Eclipse instance with the plug-in. It still works in the corresponding test case, which has the following method: @Before public void setUp() throws…
Stefan S.
  • 3,950
  • 5
  • 25
  • 77
6
votes
1 answer

Updating UI contributions on Handler switch in e4 application model

I have defined a command global to my e4 application, namely the add command. So, as you can see in the command is to used throughout the application (1) and to the repsective handler to be activated on context switch to the resp. parts in (2) and…
col.panic
  • 2,944
  • 4
  • 25
  • 31
6
votes
2 answers

How to autostart org.eclipse.gemini.blueprint.extender in a feature based eclipse rcp application?

I have an eclipse rcp application that uses gemini blueprint. It has two features and hence a feature based product. Some of our bundles depend on service that where created by the blueprint extender. But actually the blueprint extender is only…
gregor
  • 4,733
  • 3
  • 28
  • 43
5
votes
1 answer

How to pass an object from one part to another part in Eclispe e4 RCP?

I am building an application with eclipse e4 RCP. I have a navigator (similar to Navigator in eclipse IDE) and I would like to link it to an editor (similar to how a file in Navigator in eclipse IDE is linked to an editor). Currently I am using…
Jehan Zeb
  • 155
  • 12
5
votes
2 answers

eclipse rcp keybindings don't work

I am trying to make eclipse keybindings work. I tried to make the rename command work. I looked at some tutorials and experimented. I enabled command and key binding trace in console…
whomaniac
  • 1,258
  • 4
  • 15
  • 22
5
votes
1 answer

Eclipse RCP e4 using cached version of Application.e4xmi file

So I'm writing e4 RCP application for my studies. My problem is that, as I change the Application.e4xmi file - I basically add / remove some part (View) - the changes are not reflected in the application later run ! It's totally as eclipse (IDE)…
user1913596
  • 469
  • 6
  • 16
5
votes
1 answer

In Eclipse 4.4 RCP builds, "The service Plugin converter could not be acquired."

We began getting the build errors below for our RCP applications after updating to the recent Eclipse 4.4 IDE Eclipse for RCP and RAP developers. These occurred on multiple Windows and Mac platforms, in a vanilla Eclipse IDE install with no…
Andy Thomas
  • 84,978
  • 11
  • 107
  • 151
5
votes
1 answer

org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

Here's the issue. I created a sample Eclipse 4 (Luna) application using the wizard. Everything worked fine. I decide to move the user interfaces to a dedicated plugin. I created the new plug-in, moved all the classes to the new plug-in and…
1
2 3
59 60