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
1 answer

Eclipse 4.x popup menu visibility based on tree viewer selection

I'm creating an eclipse 4 plugin project. I have a tree viewer that shows model elements. Problem: I need to show a popup menu based on the selection that I'm doing on the tree viewer. I tired to use core expression as explained in the…
Jaison
  • 132
  • 1
  • 1
  • 8
0
votes
1 answer

Error when passing values to other view in eclipse e4

I am using IEventBroker to send the events to other view synchronously @Inject private IEventBroker eventBroker; The sender part has the following code: Map>> StatisticValue = new…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
1 answer

How to add checkbox image in eclipse e4?

I am using eclipse e4. I need to add an image for checkbox(checked and unchecked). I have tried adding the image in the following way in table viewer. I can see only red spots in place of the image. I have used the following code snippet. private…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
1 answer

removing existing timeseries from dataset in Jfreechart

I am using eclipse e4. I have three timeseries which has inputs dynamically from GUI. /*some code to calculate the entries from a hashmap*/ for (i = 0; i < statValue.length; i++) { if(statValue[i].equals("MIN")) { …
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
0 answers

using Eclipse 4 css dependencies for a simple swt application

I want to use css jar dependencies of eclipse e4 in my SWT Application (not RCP Application), how can i do it ? can any one guide me ?
freesniper
  • 79
  • 1
  • 9
0
votes
1 answer

TickLabels are missing in Jfreechart

I am using eclipse e4 and JfreeChart. The ticklabels in both xaxis and y axis are not visible. The following is the code snippet I have used. public class showGraph { String title = null; final TimeSeriesCollection dataset = new…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
1 answer

Double click on specific file type doesn't open properly

I am currently working at a pure E4 RCP application and I have made an .exe installer using NSIS. Also I have associated a certain file extension to be opened via double click by my application. File association is done using the following NSIS…
0
votes
1 answer

pass value from one handler to another handler in eclipse e4?

I am calculating a value in one handler and I need to pass that value to the other handler. In other words, I have created two menu items in which one menu item(XYZ) calculate values when it is clicked and I need to pass those values so that when…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
1 answer

E4 RCP application doesn't respond at double click events

I am working at an E4 RCP application and I want to make it to respond properly when the user double clicks on a specific file type. So far the extension of the file is associated with the operating system by writing in registers and when…
0
votes
1 answer

ClassNotFoundException in handlers and Viewparts eclipse rcp e4

I am using eclipse e4 application. I have created the project and it was running succesfully. I made some changes like adding the JFreechart library and made use of it in the Part in eclipse e4. After that when i try to run the application it shows…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
1 answer

Implement postWindowClose() in RCP application

Hi RCP developers, I want to iplement postWindowClose() in my ECLIPSE RCP application. Before coding this method, I just did a small test to see if when I close my application, the method is called, so I did that : import…
Ismail Sen
  • 571
  • 2
  • 14
  • 27
0
votes
1 answer

filename is displayed in tableviewer but when selected particular column the file location should be retrieved for processing the file in eclipse e4?

Using Filedialog I am selecting the set of files and displaying it in the checkbox table viewer. Then I want to process those files which I have checked in the checkboxtableviewer. public void setTableInput(File[] selectedFiles) { for(int i =…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
2 answers

Eclipse-RCP: Getting Resourcebundles using custom ResourceBundle.Control

We load our translations from our database. To retrieve the bundles we have a custom java.util.ResourceBundle.Control. To translate our e4 RCP application, I already created a TranslationService, which I add to the root context using an addon. That…
Tobias Schulte
  • 3,765
  • 1
  • 29
  • 33
0
votes
1 answer

JFace tableViewer checkbox selection returns null in eclipse e4

I am using tableviewer with Check box style in the following way tableViewer = new TableViewer(parent, SWT.MULTI | SWT.FULL_SELECTION | SWT.BORDER| SWT.CHECK); I used the following code to listen to tableviewer. I know it is wrong because it…
Acjb
  • 505
  • 1
  • 6
  • 21
0
votes
1 answer

Is it possible to arrange two static and one dynamically created parts in Eclipse e4 application?

I am creating a view in which there are two static part PartSashContainer. I am creating a dynamic part which is called from the menu handler. Whenever the dynamic part is called from the handler the dynamic part is arranged at the end of the two…
Acjb
  • 505
  • 1
  • 6
  • 21