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
0
votes
3 answers

Migrating eclipse 3.x application application to eclipse 4.x

I'm working on a product which is an RCP application based on Eclipse 3.x api. Now we are trying to move it to Eclipse 4.x. We are using some internal classes in our code. I've already read the tutorial provided by Vogella about migrating to Eclipse…
decoder
  • 137
  • 3
  • 12
0
votes
1 answer

Can I use the Eclipse 4 model to build an RCP and a Plugin using the same codebase?

The book "Eclipse 4 Plug-in Development by Example" mentions that the Eclipse 4 model provides a way to model an application. An application has a top-level model, buy may also have additional model fragments contributed by different bundles. Is it…
caritos
  • 12,922
  • 2
  • 17
  • 15
0
votes
1 answer

Eclipse 4 RCP Vogel tutorial. No toolbar icon

OS X 10.7.5, Eclipse 4.3 Kepler build ID 20130919-0819, Java 1.7.0_51 I'm following along the Vogel tutorial, and I have (another) problem. I've added a toolbar as described in the tutorial, but no icons appear on the toolbar. The toolbar itself…
garyp
  • 967
  • 7
  • 36
0
votes
1 answer

Eclipse RCP E4 Part Stack Width not working

I have one perspective in which there are two Part Stack. By default each Part Stack occupies half of the window , I want to set fist part stack width as 30% and second one as 70%. I have tried setting Container data as 30 for PartStak1 and 70 for…
Vijay
  • 1,024
  • 6
  • 18
0
votes
1 answer

Eclipse e4. How I can get selected menu item reference?

I would line to get the reference of selected menu item of the menu. How can I do this? This is an example of a class which is responsible for execute the marked by @Execute annotation method. This is a wrong way: import java.util.Iterator; import…
0
votes
1 answer

Eclipse4: Load a Part but don't show it

I'm getting a reference to my Part via: @Inject private EPartService partService; MPart clientPart = partService.findPart("parts.clientpart"); How can I load that part now so that it's @PostConstruct public void…
Markus
  • 1,452
  • 2
  • 21
  • 47
0
votes
1 answer

Eclipse RCP e4 Logging

I amtrying to add logging capabilities to my RCP e4 application. I found the following Snippet. import org.eclipse.e4.core.di.annotations.Creatable; import org.eclipse.e4.core.di.annotations.Optional; import…
0
votes
0 answers

Eclipse e4/rcp missing items

I want to start developing Eclipse 4 apps. So I have downloaded the eclipse 4.3.1, and the e4 tools from here. Unfortunately when I try to create a plug-in project the following errors appears: Operation details - Cannot complete the install…
Wosh
  • 1,565
  • 2
  • 17
  • 30
0
votes
1 answer

Eclipse 4 Application doesn't show my View

I follow the book "Instant Eclipse 4 RCP Development How-to" and try to build the example application. But the view I created just don't show up. This is my code for one of the views: package codesnippetapp.views; import…
Martin Böschen
  • 1,707
  • 15
  • 22
0
votes
0 answers

RCP - eclipse4: how to reuse view from external plugin

I'm on Eclipse SDK 4.3, developing a product-based E4Application I am developing two plugins: "Main" and "External" Main is the plugin with the application.e4xmi and product definition, it depends on External External has a view part defined in it…
MoZZoZoZZo
  • 233
  • 1
  • 10
0
votes
1 answer

Integrating 3.x java editor in eclipse 4 RCP app

Need eclipse 4 experts help in deciding whether to go with eclipse 4 or eclipse 3 framework for my next RCP application. I have evaluated the eclipse 4 framework and it seems to be a good fit for my application, except for one requirement where I…
Dnavir
  • 556
  • 3
  • 11
0
votes
1 answer

Eclipse Kepler Dependency Injection in 3.x

I have a working plugin in Eclipse 3.7 with Views and a Perspective. Now I try to move this to Eclipse Kepler 4.3 therefore i follow the Tutorial from Jonas Helming All my Views are based on a TemplateView in another Plugin. This TemplateView was…
lumo
  • 790
  • 1
  • 8
  • 23
0
votes
1 answer

Where to find eclipse source that was in cvs or is in subversion?

I am ultimately trying to follow this page: http://wiki.eclipse.org/E4/Running_the_demos But, some of the project sets refer to paths in CVS that no longer exist, or have been moved. For example org.eclipse.swt. I don't see org.eclipse.swt in git,…
0
votes
2 answers

e4 Toolbar at Top Position invisible

I have a question regarding e4 rcp applications. I am creating an Eclipse e4 RCP project which uses the compatibilty layer. Basically I created an 3.x RCP project, a product and an Application.e4xmi to use e4 features in my 3.x RCP project. I did…
m_L_z
  • 21
  • 4
0
votes
1 answer

Project Explorer view in a pure Eclipse4 application

Is it possible to add "Project Explorer View" to a pure Eclipse 4 application, ie, with no Compatibility Layer? I spent the last two days studying several tutorials (like this one and also this one) but I could not find anything useful regarding…
cesarse
  • 362
  • 2
  • 14