894 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
40
views
Let a view show the details for selected entries of two other views in rcp e4
My application contains three views: On the left side view "A" and view "B" each with a list of table entries and on the right side the view "Details" that shows the ...
0
votes
1
answer
44
views
Problems displaying pivot charts in E4 RCP
here is the application.e4xmi:
This is how the Perspective looks when start:
In Open Perspective Dialog:
So Strange
The display is normal when using extension point definitions, but incorrect when ...
2
votes
1
answer
50
views
How to close a view part without saving its state?
We are migrating our RCP application from Eclipse 3.8 to Eclipse 4.
In Eclipse 3.8, the saveState (IMemento) method of views was only called when closing the application, for views that were still ...
0
votes
1
answer
129
views
How do I pass the MItem, that defines an Imperative Expression in the visibleWhen-Clause, to the Imperative Expressions @Evaluate method?
In Eclipse e4 RCP one can control the visibility of ToolBar and Menu items by adding a visible-when expression in the model definition.
I want to use e4 style imperative expressions instead of the old ...
0
votes
0
answers
409
views
Unresolved requirement: Require-Bundle, but no problems are detected when validating plug-ins
I inherited an Eclipse RCP application (org.eclipse.e4.ui.workbench.swt.E4Application) from a colleague.
I tried to launch the application through MyApp.product > Launch an Eclipse application but ...
0
votes
0
answers
238
views
Missing Constraint: Require-Capability: osgi.ee when validating plug-ins
I inherited an Eclipse RCP application (org.eclipse.e4.ui.workbench.swt.E4Application) from my colleague.
When I click on Launch an Eclipse application in the MyApp.product overview panel, I get many ...
1
vote
0
answers
35
views
Open new views on a detached windows by default
I'm developing a RCP application and I want to give the user the ability to configure if new views will be openned on a new detached window or will open attached on the main window.
Is there a way to ...
1
vote
0
answers
74
views
How do I add a fixed widget to an Eclipse RCP top trimbar?
We want to display an image to the left of the toolbars of our Eclipse RCP application, like this:
Our app has a setting that allows the user to change the size of the toolbars:
We tried the ...
1
vote
0
answers
54
views
How to ensure the creation of the main menu without clicking on its items?
I need to access the widgets from the MMenu instance, from my application's main menu, but I found that the menu items are only created when displayed for the first time, when clicking on the menu ...
1
vote
1
answer
116
views
How can I save workbench.xmi programmatically?
We have an RCP application, using Eclipse 3.x and we are migrating to Eclipse 4.
At a certain point in our application, we need to save the workbench.xml file with the contents of the perspectives. In ...
0
votes
1
answer
101
views
Open multiple instances of same view (part in Eclipse E4 terms) next to each other in the same part stack on Eclipse E4
I have my view and the corresponding placeholder (to support opening multiple instances of the same view) created by implementing IPerspectiveFactory as follows -
@Override
public void ...
0
votes
0
answers
83
views
How to ensure that the colors defined in the CSS file are used?
There is a common thorny problem in SWT: the background color obtained by getBackground() may not be the same as the color it actually displays.
As stated in these two issues 1 2 .
After reading some ...
0
votes
0
answers
74
views
Is it possible to set the background color of all Composite and its subclasses consistently via CSS?
The controls are structured as follows :
Shell [class=Foo]
- Composite
- Button
- Label
- Combo
- Composite
- Section
- Canvas
The way I can think of is
.Foo Composite,
.Foo ...
0
votes
0
answers
174
views
`ClassCastException` with Eclipse RCP Internals on 2022-12
I am currently responsible for upgrading a legacy Eclipse RCP application at my job from Java 11 to Java 17. As part of this, I am upgrading from Eclipse 2018-12 to 2022-12.
However, this has ...
0
votes
0
answers
216
views
e4 RCP application does not start after .exe is created with product export wizard
I tried using the export wizard in the .product of an e4 RCP application i created.
It runs fine within the IDE, but the generated .exe fails to start.
The generated log is
!SESSION 2023年02月15日 22:45:...