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
4
votes
2 answers

eclipse e4 (Juno) : Not able to hide view Part minimize/maximize buttons

within part stack, i have part views. , and each view has minimize/maximize buttons, Is there is any way i can hide minimize/maximize buttons for some particular view part ?
Khalid Azam
  • 1,615
  • 19
  • 17
3
votes
0 answers

Reset Perspective in E4 Application(Using Snippets)and few parts contributed by other Fragments (fragment.e4xmi)

I have to reset a Perspective in E4 application. EModelService.resetPerspectiveModel() method is not working. https://bugs.eclipse.org/bugs/show_bug.cgi?id=404231 There was a work around which I found . Using EmodelService.CloneSnippet() Method…
Namitha
  • 31
  • 4
3
votes
1 answer

Does Eclipse RCP include a built in cut/copy/paste handler?

As the title says I'm wondering whether Eclipse RCP 4 provides any built in cut/copy/paste handlers which can be linked to the org.eclipse.ui.edit.cut, org.eclipse.ui.edit.copy and org.eclipse.ui.edit.paste commands? I appreciate that that a custom…
Paul H
  • 2,104
  • 7
  • 39
  • 53
3
votes
1 answer

Programmatically resize a view in Eclipse

I'm testing an non-e4 RCP application using SWTBot and I need to change the size of my view. (Move the sash-bar) I unsuccessfully tried Resize my view using SWTBot (no such api) Resize my view using Eclipse 3 API (no supported) Resize my view using…
Boris Brodski
  • 8,425
  • 4
  • 40
  • 55
3
votes
0 answers

Show editor area in E4

I have a simple perspective without the editor area: public class MainPerspective implements IPerspectiveFactory { @Override public void createInitialLayout(IPageLayout layout) { layout.setEditorAreaVisible(false); } } Now I open an…
Stefan S.
  • 3,950
  • 5
  • 25
  • 77
3
votes
0 answers

How I can force evaluation of property tester manually in eclipse 4?

A application was updated from eclipse 3 to eclipse 4. The evaluation of some property tests are forced manually calling the following lines: IEvaluationService service = (IEvaluationService)…
Holger S
  • 53
  • 5
3
votes
0 answers

Can't regenerate model code: default method are allowed only at source level 1.8 or above

I have an emf model with a bunch of entities. I've manually added a couple of default methods to one of the generated interfaces. Now I can't regenerate model code for this entity. Error says "default method are allowed only at source level 1.8 or…
QNA
  • 1,047
  • 2
  • 14
  • 26
3
votes
1 answer

How to add Perspective Bar Switcher to pure eclipse 4 rcp application

I have created a pure Eclipse e4 rich client platform application application model. I created multiple perspectives using perspective stack, but I am unable to switch other perspective because there is no default perspective bar or switcher icon…
Raj Perumalsamy
  • 156
  • 1
  • 1
  • 11
3
votes
2 answers

How to fix "No Application ID has been Found" error in e4 application?

I have been searching for a while now and can still not find a solution to my problem. I have an e4 application that whenever I try to launch it, I get a No application id has been found error with not much more information other than that. I have…
MZimmerman6
  • 8,445
  • 10
  • 40
  • 70
3
votes
1 answer

How to get E4 Orion CSS Preference editor installed on Eclipse?

Today I got annoyed once again with the fact that starting Eclipse Luna, the Most Recent Used Tab option became disabled by default. I googled for the problem and found the question Eclipse tabs repositionning and Retain previous open file(..) that…
Aldian
  • 2,592
  • 2
  • 27
  • 39
3
votes
1 answer

What is the difference between application context and workbench context in eclipse e4?

I have read in different tutorials/articles these terms are used alternatively 'Application Context' and 'Workbench Context'. Are they the same? If not, what is the difference between the two? and whats the relationship between them?
Jehan Zeb
  • 155
  • 12
3
votes
0 answers

Eclipse e4 - Logger Injection

As far as I have understood reading online articles, the embedded data-logger in Eclipse should be best deal especially if you're implementing an RCP app. (Confirm?) Anyway I'm struggling using it. The first issue I have faced is a problem with…
unclejohn00
  • 149
  • 10
3
votes
2 answers

RCP 4 Toggle a button in the toolbar

I am trying to do the following: Create a button in the toolbar (Already done as a 'handled tool item') Click on the button and have the button look like it's pressed in (I read something about using IAction.AS_CHECK_BOX, but I can't find any clear…
user2992188
  • 283
  • 1
  • 5
  • 18
3
votes
1 answer

Open an editing part(as an editor in previous eclipse versions) in Eclipse RCP 4

I was wondering how could i open an e4 editor with an input(or an alternative to passing data from view) in a pure RCP 4 app. If it helps, here is an app with all the things needed(except the actual…
spetrila
  • 177
  • 13
3
votes
1 answer

Eclipse Luna 4.4: application product with GMF, e4, BIRT, batik plugins does not validate

I am developing a Eclipse application and want to migrate to Eclipse 4.4 now. In my application setup I am using BIRT (latest release 4.4.0), which comes with the Apache Batik…
Terry
  • 14,529
  • 13
  • 63
  • 88
1 2
3
59 60