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.

The characteristics of Eclipse RCP include:

  • Components - Eclipse includes a robust component model. These loosely coupled components are usually called plug-ins. The component model is based on the OSGi standard.

  • Middleware and infrastructure - On top of the component model is a set of frameworks and facilities that make the job of writing client applications much easier.

  • Native user experience - The Eclipse Standard Widget Toolkit (SWT) provides a graphical user interface (GUI) toolkit for java that allows efficient and portable access to the native UI facilities of the operating system (OS).

  • Portability - Eclipse provides support for heterogeneous OSs and client environments, ranging from traditional PCs, to thinner devices such as tablets and kiosks, down to mobile devices and embedded smart phones.

  • Intelligent install and update - Eclipse's component framework enables plug-ins to be deployed and updated using any number of mechanisms: HTTP, Java Web Start, repositories, or simple file copying.

  • Component libraries - The Eclipse community has produced plug-ins for building pluggable UIs, managing Help content, install and update support, text editing, consoles, product introductions, graphical editing frameworks, modeling frameworks, reporting, data manipulation, and many more.

The Eclipse IDE itself is an Eclipse RCP.

Documentation

5588 questions
1
vote
0 answers

How do I prevent an eclipse/jface/swt application from flickering

I have a problem using swt, jface and eclipse controls in a bigger application. When opening and closing a new shell (some popup menu) combined with requestLayout() in the main application some controls "flicker". I already did a lot of debugging…
1
vote
1 answer

Why can't Maven Tycho find the correct JDK in toolchains.xml?

I have made a simple RCP application to test Maven builds. My question is why Maven Tycho can't find the JDK's defined in the toolchain and how can I fix those issues? My RCP plugin uses JDK-15 and I believe that the target-platform brings the…
Per
  • 27
  • 7
1
vote
0 answers

Eclipse RCP failed to Launch product in MAC Big Sur

I am getting below stack strace when trying to launch MY RCP application[i.e. based on neon-2] on MAC machine big sur 11.5.1 , !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at…
N-G
  • 25
  • 5
1
vote
1 answer

Evaluation of @CanExecute for RCP e4 application

A RCP E4 application includes a TreeViewer to manage the visivility/selection of a collection of “Packages”. The part is named as Package Navigator. When one Package is ready to be send, the TreeViewer icon shows and the button to start the…
J Robes
  • 467
  • 1
  • 6
  • 19
1
vote
1 answer

SWTBot crashes JVM when running a test in an RCP application

I'm trying SWTBot out with a sample project according to the SWTBot User Guide. My problem is that when I run the second test (MessageCreateTest) the JVM crashes and I get the following error: A fatal error has been detected by the Java Runtime…
Adam Arold
  • 29,285
  • 22
  • 112
  • 207
1
vote
2 answers

Eclipse RCP: how to get Show View menu instead of a dialog

I've added to my perspective's org.eclipse.ui.menus This adds Show View item to main menu, but this item is not a menu (as in the Eclipse Window menu).…
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
1
vote
0 answers

Parsing unresolved requirement Eclipse 2021-03 error

I'm trying to build an RCP application on Eclipse 2021-03 and I'm encountering the following issue: [ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle my.company.plugin cannot be resolved:my.company.plugin…
wewig43882
  • 19
  • 1
1
vote
1 answer

SWT : showing animated gif with transparent background

I am trying to show a animated gif which has transparent background. but the result is that the background is not transparent, below is my code, what is wrong with it? package amarsoft.rcp.base.widgets; import org.eclipse.swt.SWT; import…
CaiNiaoCoder
  • 3,269
  • 9
  • 52
  • 82
1
vote
2 answers

Eclipse RCP: ClassNotFoundException or How to make other bundle load my class

Details: I'm trying to use Jalapeno framework to connect my RCP app with Cache' database. After connection established, I'm trying to get all data from table exactly like in Jalapeno manual: if (objManager==null) return; DBClass cortege = null; try…
Imaskar
  • 2,773
  • 24
  • 35
1
vote
0 answers

RCP: addSelectionChangedListener method loses the view called

I have added an addSelectionChangedListener method to open a new window when a node on the first window is selected. It works fine - a new window is opened. But on the original window, the view from where I make the selection on the tree viewer…
Kumar S
  • 431
  • 2
  • 6
  • 16
1
vote
2 answers

How to add a context menu to existing "File" menu in Eclipse Plugin development?

In Eclipse main menu how to contribute to an existing Main Menu for ex need to create a context menu under Main menu "File" . What is the location URI "File"
Big Bang Theory
  • 311
  • 1
  • 4
  • 16
1
vote
0 answers

OleControlSite eating key events

I'm working on an Eclipse RCP plugin that contains a View. This View contains an OleControlSite that hosts an Excel workbook. The Excel workbook is added to the view with code along the lines of: public void createPartControl(Composite parent)…
stracka
  • 1,023
  • 6
  • 13
1
vote
3 answers

application checking for patches/updates

I am working on (Java) Eclipse RCP windows desktop application and I need to implement a function which checks a website for any available updates to it. I would want to develop something that prompted the user to update the software if there are…
Ronny
  • 11
  • 1
1
vote
0 answers

How to run JUnit Plugin Tests from Maven?

I have an Eclipse RCP Java application, and I've created some tests for it. When I run them within the IDE using JUnit Plug-in Test it runs fine, but when I run mvn test or mvn clean install it throws a NullPointerException when trying to get a hold…
Mox
  • 564
  • 2
  • 8
  • 20
1
vote
1 answer

How to drag a view out of the workbench in RCP app?

I am trying to figure out how to detach a view from the main app. From what I can tell this is a supported feature in the RCP framework but I have not seen how to enable/disable the feature. Is there a property I can set somewhere in the View…
dkellycollins
  • 497
  • 6
  • 17