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
15
votes
3 answers

Difference between syncExec() and asyncExec() of Display class

I'm working on a plugin project in which I'm using Eclipse background processing. What's the difference between the syncExec() and asyncExec() methods of the Display class? In which situations are they applicable? Any example could be helpful.
srk
  • 4,857
  • 12
  • 65
  • 109
14
votes
2 answers

How can I use a local directory as target platform for a Tycho build?

I want to build an RCP-Application with a target platform which is a directory with Maven/Tycho. Now I have some troubles that the dependencies could not be resolved. Internal error: java.lang.RuntimeException: "No solution found because the …
Orri
  • 920
  • 1
  • 8
  • 20
14
votes
1 answer

Eclipse Plugin Settings - Activation and Singleton Settings

In the Eclipse manifest editor, there exist check boxes for enabling/disabling plug-in activation and singleton behavior, as shown below: [ ] Activate this plug-in when one of its classes is loaded [ ] This plug-in is a singleton Questions: When…
14
votes
2 answers

Using third-party libraries in Eclipse RCP Tycho app

I've created a boiler-plate project following vogella's extensive Tycho tutorial. Facts: There's no feature, and there's no plugin. The only plugin is the RCP app, which is also the entry-point. Problem: I have no idea in which pom.xml do I…
Georgian
  • 8,795
  • 8
  • 46
  • 87
14
votes
7 answers

Starting working with Eclipse RCP

I'm going to start maintaining an Eclipse RCP application for my current employer soon. What are your experiences with this platform? What are the pros, what are the cons, what are the caveats that I should be aware of? Also, what reading materials…
Sandman
  • 9,610
  • 8
  • 36
  • 41
14
votes
3 answers

How to communicate between views in Eclipse RCP?

In Eclipse RCP, I am creating views for the Perspective using IPageLayout.addView(...) But this way I don't have a reference to the view. Therefore I don't know how I can tell ViewA to update ViewB. What's the best pattern to use here?
geejay
  • 5,440
  • 8
  • 50
  • 60
14
votes
4 answers

How to get the project name in eclipse?

How do I get the name of the current eclipse project? I'm in a GMF view and need the projectname when some submenu of the popup menu ist used.
Alexander Stolz
  • 7,454
  • 12
  • 57
  • 64
13
votes
7 answers

eclipse product invocation causes java.lang.RuntimeException: No application id has been found

I just exported a product that is working nicely if I hit the "Launch an Eclipse application" button. If try to execute the exported product, I get following exception on the startup: !SESSION 2012-03-16 17:28:21.206…
kon
  • 3,732
  • 3
  • 26
  • 34
13
votes
4 answers

Eclipse Preference store persistance

I have a multiple user/location RCP application that currently utilizes several user configurable options. Some preferences are for specific to the station, some are specific to the user. The options are from a preference store which saves the…
TJR
  • 3,617
  • 8
  • 38
  • 41
13
votes
2 answers

The bundle XYZ could not resolved. Reason: Missing Constraint: Import-Package: ABC; version="1.0.0" error in headless RCP standalone

I'm working on standalone headless RCP. It works without problem when I execute the application and product in eclipse IDE, but when I export and execute it, I got this error in the log file. !ENTRY org.eclipse.equinox.ds 4 0 2013-01-16…
prosseek
  • 182,215
  • 215
  • 566
  • 871
12
votes
2 answers

How do I get the OSGi BundleContext for an Eclipse RCP application?

I have just gotten started with an Eclipse RCP application, it is basically just one of the provided "hello world" samples. When the application boots up, I would like to look at my command-line parameters and start some services according to them.…
Thilo
  • 257,207
  • 101
  • 511
  • 656
12
votes
2 answers

Anyone have experience in building an Eclipse RCP application with Gradle?

Does anyone have experience in building an application based on Eclipse RCP with Gradle? I'd like especially to know: How reasonable is it to build Eclipse RCP plugins and products with Gradle? Are there any Gradle plugins to achieve this task…
Claude
  • 453
  • 2
  • 9
12
votes
4 answers

Eclipse RCP menus & actions: Configure or code?

This is a general question but my current problem revolves around menu handling. In a normal plugin with contributes menu actions you would configure ActionSets etc in the plugin.xml configuration. This is obviously sensible. I am working on a RCP…
paul
  • 13,312
  • 23
  • 81
  • 144
12
votes
1 answer

How can I add a hyperlink to a JFace Dialog

How can I make a hyperlink in a JFace Dialog that when clicked opens the link in the default web browser. A full example would be useful. I know there is a org.eclipse.jface.text.hyperlink package but I can't find a suitable example.
Alb
  • 3,601
  • 6
  • 33
  • 38
12
votes
3 answers

Maven Tycho: Not a valid OSGi version

in my project I'm trying to export a Eclipse RCP application using Maven/Tycho. All the plugins (and the product it-self) use the following version pattern when in "SNAPSHOT" release configuration: OSGI: x.y.z.qualifier MVN: x.y.z-SNAPSHOT the…
slux83
  • 686
  • 9
  • 20