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

Why does Composite have no actual value?

I have an Eclipse RCP application with 2 Parts (Main Menu and New Macro) in a Part Stack. When the application starts it calls the CreateMainUI contributing class below which constructs the UI and populates some things. public class CreateMainUI…
SteWoo
  • 458
  • 1
  • 8
  • 21
0
votes
1 answer

What is good practice for managing contributing classes for Eclipse RCP Parts

I'm just wondering what is good practice when it comes to managing the contributing Class of a Part in Eclipse RCP development? I know that when a Part get's focus in the application it calls the Class that is linked to that Part, and in that Class…
SteWoo
  • 458
  • 1
  • 8
  • 21
0
votes
0 answers

How to show the previous running eclipse 4 rcp application

When the user clicks on exe icon again as of now i am using checking if the location isset and is it locked if yes i am throwing an error message. Is there a way to show the previously running application in eclipe 4 rcp
0
votes
1 answer

How can I implement and register iapplication interface in e4 rcp?

Is there a way to create and implement the iapplication interface in Eclipse rcp? Or is there a way to alter the workspace lock error message thrown by e4application class in e4 rcp?
0
votes
2 answers

How to set top-left corner icon of an eclipse 4 APP

I tried to set a icon at the top-left corner of the shell for one eclipse 4.2 APP. I already set the branding images, but no luck.
user1484819
  • 899
  • 1
  • 7
  • 18
0
votes
1 answer

Eclipse Juno: Unable to read model extension

After exporting the product, when i try to run the application i do not see any view in my application.i got the reason, this is because of error "Unable to read model extension"
Khalid Azam
  • 1,615
  • 19
  • 17
0
votes
2 answers

Eclipse e4 : IStartup extension not working

I am trying to extending "org.eclipse.ui.startup" extendion point. but it seems in eclipse e4 ,it does not even getting called. is this extension is broken in eclipse e4(Juno)
Khalid Azam
  • 1,615
  • 19
  • 17
0
votes
1 answer

How to get the TrimBar of a TrimWindow in Eclipse RCP 4?

I put a toolbar on the top of my TrimmedWindow in my application. I have a handler which has to check whether a check button is pressed on this menu bar or not. I tried putting EMenuService in my execute() method of the handler but it has no useful…
Adam Arold
  • 29,285
  • 22
  • 112
  • 207
0
votes
1 answer

MMenuElement mnemonics usage under e4 model

A Javadoc from MMenuElement says: String org.eclipse.e4.ui.model.application.ui.menu.MMenuElement.getMnemonics() Returns the value of the 'Mnemonics' attribute. If the meaning of the 'Mnemonics' attribute isn't clear, there really should be more…
manuna
  • 729
  • 14
  • 37
0
votes
2 answers

Programmatically load e4 Application Model

I am trying to programmatically load an e4 application model in order to be able to iterate on the model elements. Currently I am facing the problem, that I don't know on how to correctly load it. Given an Application.e4xmi I tried to simply load…
col.panic
  • 2,944
  • 4
  • 25
  • 31
-1
votes
1 answer

When class gets called part stack should get visible

I am building an application as an Eclipse e4 RCP. When a command handler class gets called then part stack should be made visible dynamically. So looking for a code I should use in class to make part stack visible.
user123
  • 79
  • 1
  • 7
-1
votes
1 answer

Undo redo in Eclipse E4

I'm searching for a good way to implement undo and redo functionality in an Eclipse E4 application. The undo-redo function need to be undo all the changes of the user on the current MPart. In that MPart it can be on a table change, field change,…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
-1
votes
1 answer

Select an Eclipse 4 RCP Part in Unit Test.

I´m currently writing Tests for my Eclipse 4 RCP Application. For one Test it is necessary to select the Part (Part2) during the Test. I can dynamically create it and invoke the Post Construct Method, but the Part itself is not selected. I tried to…
-1
votes
1 answer

How to add other plugin in my custom RCP E4?

I developed a RCP e4 using vogella tutorial In my RCP e4 application I need to include other plug in. How can I do? An alternative may be to insert in the functionality "install new software," and allow the installation directly from my custom…
FrankL
  • 39
  • 5
-1
votes
1 answer

Add Context Menu to a dialogue in e4 rcp

I want to add a context menu to a dialogue. I want it in such a way that when clicked anywhere where it is empty a deafaul context menu appears. I have seen example of context menu added to table and tree but not a dialogue as a whole any snippets…
Praveen
  • 101
  • 14
1 2 3
59
60