Questions tagged [eclipse-rcp]
For questions about the Eclipse Rich Client Platform which is a generic Java platform for running applications. It provides the basic blocks for building rich client application using the OSGi framework.
5,592
questions
-1
votes
0
answers
9
views
Eclipse RCP: Error in adding launcher icon
I try to add Icons and branding to my Eclipse RCP. In my Product Configuration Launching Tab I added seperate BMP files (except for 8bits bc they arent longer used) and also tried the single ICO file. ...
0
votes
0
answers
13
views
signing exe with SSL certificate using eclipse tycho
I would like to use our code-signing SSL certificate to sign our product exe which is an eclipse RCP application and is built with eclipse tycho.
Is there an official way to do this? There seems to be ...
-1
votes
0
answers
17
views
java swt tree expand/collapse arrows without indentation
I want to remove indentation from the arrows which appears for the expandable/collapsable rows in java swt tree.
if the rows are expandable then the arrows appear
when this expandable row has nested ...
0
votes
0
answers
18
views
Java swt tree padding
I am able to add padding to the left of treeitems, but i don't know how to add padding to the top and bottom of the treeitems.
I want to increase/decrease the padding of tree items. This padding ...
0
votes
0
answers
18
views
Change row height in SWT tree
I have tree, i want to change the row height of that tree.
I have tried adding listener, SWT.MeasureItem and EraseItem as well, but still the row height is not changing.
There is the function in ...
0
votes
0
answers
9
views
Can't get rid of the Restart option in my Eclipse RCP app
I have this app built using Eclipse RCP. The File menu in the ToolBar is defined as follows in the class that extends ActionBarAdvisor:
@Override
protected void makeActions(final ...
0
votes
1
answer
13
views
GroupBy functionality with RowHideShow in NatTable
I'm trying to include Row hide/show in NatTable with group by funtionality.
By using org.eclipse.nebula.widgets.nattable.hideshow.RowIdHideShowLayer the group by functionality itself doesn't work.
So ...
0
votes
1
answer
27
views
Product definition does not export the VM parameters correctly when launching an Eclipse Application
I defined these VM parameters on the Launching tab of the product definition:
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.text=ALL-UNNAMED
--add-opens java.desktop/java.awt....
0
votes
1
answer
38
views
Eclipse RCP plugin repository - old versions of plugins?
I'm about to start modernization of a very old Eclipse RCP application, which uses Eclipse Helios (2011) as an IDE and runs on Java 1.6.
The first step I'd like to do is to take a newer version of ...
0
votes
0
answers
31
views
How to install a bundle that doesn't belong to any feature?
There is a bundle in the p2 repository(e.g. https://download.eclipse.org/releases/2023-06 ) that doesn't belong to any feature, how do I install it ?
As far as I can tell, I can't install it through ...
0
votes
0
answers
25
views
Eclipse OSGI Import-Package issue after upgrading
I am working on upgrading an Eclipse RCP Plugin. Many of our imported plugins (such as org.eclipse.ui.workbench and org.eclipse.jface.text have "Import-Package: com.ibm.icu.text" or "...
0
votes
0
answers
13
views
eclipse pde maven - repository url reference for eclipse workbench objects
I'm developing an eclipse plugin that requires access to various eclipse.ui.* classes.
Since I need to migrate this stuff into a maven archetype, the pom.xml requires a reference to a repository.
What ...
0
votes
0
answers
104
views
"The package ***** is accessible from more than one module: <unnamed>, java.xml" error only when deploying feature but not in code
I'm trying to export a deployable feature for my eclipse program, every time I try to export it with jdk17 which we're just upgrading to I get the "The package *********** is accessible from more ...
0
votes
1
answer
17
views
Possible to block SWT Canvas' default scroll on mouse wheel?
I have the following:
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.*;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.*;
public class SSCCE {
public static void ...
0
votes
0
answers
38
views
After updating RCP client target from 4.17 to 4.24 the BindingService manager can't be initialized
After updating client target from 4.17 to 4.24 I am getting an exception in the Workbench on line 2247. This is happening after calling PlatformUI.createAndRunWorkbench(display, advisor);
...
0
votes
1
answer
18
views
Eclipse RCP toolbar state updates not triggering programmatically
What I am trying to do: I am trying to programmatically trigger the showing / hiding / enabling / disabling of an icon on the toolbar. This does not work. However I do see the show / hide / enable / ...
0
votes
0
answers
50
views
Editing a EclipseRCP Project with IntelliJ (instead of Eclipse)
I am currently working at a company which is using EclipseRCP for its projects. Since I am very used to IntelliJ (from my experience at the university), I would like and tried to use IntelliJ.
The ...
0
votes
0
answers
48
views
How to override and change context menu icon in Eclipse IDE
Image for your reference
when we right click in project explorer, the list occurs which is also known as context menu. I want to replace these icons in this menu with other icons of my choice. How can ...
0
votes
0
answers
32
views
How to change font size for overflowed tabs drop down list of Eclipse IDE
How can I change the font size of this overflowed tabs drop down list present in eclipse ide.
List is marked in the image.
I want to change the font size of this drop-down list.
I tried using PartImpl ...
2
votes
1
answer
127
views
Log4j is unable to load OSGI services
After updating log4j from 2.17.1 to 2.20.0 for a RCP application (OSGI!) we are getting lot's of exeptions on start-up.
For some years we were happily using the workrounds for OSGI mentioned in
...
0
votes
0
answers
111
views
Missing requirement: org.apache.cxf.cxf-rt-transports-http 3.6.0 requires 'java.package; java.net.http 0.0.0' but it could not be found
We are upgrading jetty from version 9.4.30 to 10.0.15 and cxf from version 3.3.7 to 3.6.0.
After upgrade, while building the repo, we are getting below error:
Missing requirement: org.apache.cxf.cxf-...
0
votes
0
answers
47
views
Using gRPC calls in a eclipse Plugin development
enter code hereI try to develop a plugin for eclipse, where it's possible, to communicate via gRPC calls to another application. The Eclipse plugin should act as a client. I use a target platform, to ...
0
votes
0
answers
66
views
eclipse-rcp 2023-06 (4.28) + slf4j + logback = ClassCastException due to migration of eclipse to slf4j v2
After migrating JMSToolBox, an eclipse-rcp based application, to eclipse 2023-06, the application fails to start with a CCE for logback :
Caused by: java.lang.ClassCastException: class org.slf4j....
1
vote
0
answers
37
views
Opening duplicate instances of same view next to each other on an Eclipse RCP application does not work as expected
I have configured my code to open multiple instances of the same view but the secondary view opens in a different tab in a different location in the same perspective but I would like the duplicate ...
0
votes
0
answers
47
views
Overriding all terminate actions on Eclipse
I'm fairly new to Eclipse plugin development and I currently need to override the action of all terminate actions in the IDE. So far I have found them in the Run Menu, processConsole context menu and ...
1
vote
0
answers
36
views
Open multiple instances of same view next to each other on an Eclipse RCP application
I have configured my code to open multiple instances of the same view but the secondary view opens in a different tab in a different location in the same perspective but I would like the duplicate ...
0
votes
0
answers
22
views
How can I use system defined regional number format settings for an eclipse RCP application?
My system's default region is nl_BE and I want my RCP applcation to use the region's number format settings defined at the OS level. How can I get my RCP app to read the system specific settings ?
I ...
0
votes
0
answers
34
views
Removal of download.checksum.sha-512 from artifact.xml file of Eclipse P2 repo generated through Tycho
I am using Maven Tycho for building Eclipse plug-ins(Tycho pomless version 3.0.3)
I would like to remove the download.checksum.sha-512 from artifacts.xml present inside artifacts.jar of P2 repository
...
0
votes
0
answers
38
views
RCPTT failed to launch in eclipse 4.23: Missing implementation of resolved method 'abstract getModels()' of abstract class LaunchValidationOperation
Missing implementation of resolved method 'abstract java.util.Set getModels()' of abstract class org.eclipse.pde.internal.launching.launcher.LaunchValidationOperation
I am getting this error when I ...
0
votes
0
answers
21
views
when I try to export Deployment Features In Capella studio security problem occurred
problem that appears
when I try to export Deployment Features for my plugins In Capella studio security problem occurred .
I tried to disable security manager but didn't find it.
I use JDK-17 and ...
0
votes
0
answers
17
views
How can I access the path of the selected project in Eclipse's Project Explorer using a menuContribution?
I want to get the path of the project selected in eclipse project explorer, I have created a menuContribution on the right click menu want to access the path in the handler.
I tried this code but was ...
0
votes
0
answers
33
views
How to add url's by deafult in create a jazz repository connection under location URI in eclipse rcp application?
I am using existing org.eclipse.ui.ide.workbench as an application in .product. One using 3.x Compatibility Layer (3.x API) on Eclipse 4.x. My platform is 4.16.
plugin_customization.ini file is added ...
0
votes
1
answer
28
views
RCP handler enabledwhen for multiple 'with' elements
How can I add multiple 'with' elements for enabledwhen? Here's my plugin.xml file
<handler
class="com.myClass"
commandId="com.myid">
<...
0
votes
1
answer
42
views
Contributing to the Status Bar/Trim in Eclipse RCP 3.x Text Editor
Following the question (Contributing to the Status Bar/Trim in Eclipse RCP) I want to contribute to the status bar of my RCP (3.x) text editor.
In the org.eclipse.ui.menuContributions extensions, I ...
0
votes
0
answers
21
views
How can I programmatically update the 'index unused headers' option in the Indexer Preference page under C/C++ in Eclipse RCP?
is there any possibility to change the indexer preference page - programmatically?
I want to update the index unused headers option in the indexer preference page under C/C++ - Programmatically in ...
0
votes
0
answers
12
views
Eclipse RCP XMI spies view unreadable with dark theme on Linux, any suggestions?
Eclipse RCP dark theme XMI spies view literally unreadable
Title. Any way to fix it? Clean eclipse rcp for linux, default dark theme, no plugins installed. Deafault light theme works fine for this ...
1
vote
1
answer
27
views
Eclipse RCP using Nebula - Action taking snapshots looping over several editor's pages
I have a Java - Eclipse RCP application.
The Editor has several pages, some of which contain nebula.XYGraph graphs.
The toolbar has an Action, which loops over these pages to take a snapshot of each ...
0
votes
0
answers
20
views
How to make JAWS announce updates in Eclipse SWT widgets?
I'd like to have announced text updates in some lable, currently I'm trying with org.eclipse.swt.widgets.Text(). And I'm trying that with JAWS(version 04.2023).
I found Snippet363 It shows an example ...
0
votes
0
answers
40
views
Set the Global Arm Toolchain Path Programaticly
develop an Eclipse RCP application, Inside the application is an GCC-Arm tool chain. I know I can set the Path to the tool chain in the preferences tab.
toolchains Config
But is there also a way to do ...
0
votes
1
answer
36
views
Eclipse get the active build configuration Programaticly
I develop an Eclipse plugin, where I need the information, which build configuration is currently active.
build configs
I have 4 pre-defined Build configurations which you can see in the Screenshot ...
0
votes
1
answer
21
views
Disabling/enabling parts of the import wizard in Eclipse RCP application in certain situations
I have added a new entry in the import wizard and it works fine. My goal, however, is to enable the "special type" of importing only when an entry in the system explorer has been selected ...
1
vote
0
answers
135
views
ECLIPSE RCP: Extend Generic Editor to add custom background image to the editor
Following Vogella article Developing a customer text editor for the Eclipse IDE in which is defined a series of extension points to contribute to the Generic Editor, I need to contribute to Generic ...
0
votes
0
answers
74
views
Plug-in org.eclipse.tycho.surefire.osgibooter was unable to load class org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication
org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.tycho.surefire.osgibooter was unable to load class org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.
at org.eclipse.core....
0
votes
1
answer
42
views
overwrite set system properties at runtime in maven pom
I am using org.eclipse.images.renderer plugin to render my images from svg to png. Eclipse has provided support to create highDpi icons as well which requires 2 more arguments to be passed
eclipse.svg....
0
votes
0
answers
36
views
Eclipse RCP application set default css & theme for macOS
We want to add two css stylesheets, each for macOS and windows. I have added the following property to the extension point org.eclipse.core.runtime.products in the plugin.xml.
<property
...
0
votes
0
answers
30
views
How to use operating system ability of copy and paste using eclipse RCP?
I'm using a custom CopyHandler and a PasteHandler in my Editor that displays a NatTable. The idea is to enable this CopyHandler if one or multiple cells are selected. But it doesn't work correctly, ...
0
votes
0
answers
74
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
68
views
Tycho build not finding 'org.eclipse.osgi' requirement
I have recently introduced a fragment project to a RCP app which provides JAX-WS components following a move from Java 8 to Java 11. The fragment host is system.bundle.
A simple test RCP project works ...
0
votes
0
answers
80
views
Eclipse RCP: Plugin validation problems target platform 2023-03
I want to upgrade my RCP program to the Eclipse target platform 2023-03 and created the following file 2023-03.target.
<?xml version="1.0" encoding="UTF-8" standalone="no&...
0
votes
0
answers
47
views
Could I be notified when Eclipse uses the default logger?
Eclipse itself generally uses the following two methods to do logging.
Platform logging
Platform.getLog(getClass()).error();
Platform.getLog(getClass()).warn();
Platform.getLog(getClass()).info();
...