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

How to get resource from another plugin?

I have 2 plugins A and B. In the MANIFEST.MF of the A I do have plugin B in a Require-Bundle section. But when I try to get B's resource from A like ClassFromA.class.getClassLoader().getResource('resource_from_B') I am getting null. If I put B's…
Ilya Buziuk
  • 1,839
  • 5
  • 27
  • 43
12
votes
1 answer

Eclipse RCP which shell to use for popups

I am trying to get hold of a shell in Eclipse RCP and bring up popups in my application and had gone through several resources/tutorials to achieve the task but without much…
Link19
  • 586
  • 1
  • 18
  • 47
12
votes
3 answers

How to change Eclipse window title?

How to change the title (last part of it) of a running Eclipse? I am speaking about Eclipse distribution itself, not about my program written for Eclipse. Currently I have the the following title: 1 this part is set in Window -> Preferences ->…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
12
votes
4 answers

How to use directory containing third party bundles in a Tycho build

In the past, we had our bundles and features on the file system and made them available in Eclipse through a target definition file with a 'Directory' location. In this way, it was easy to use them with the Export wizards in Eclipse. Now I'm trying…
xoned
  • 2,701
  • 2
  • 31
  • 43
12
votes
1 answer

Installing plugin into eclipse using command line

I have an update site, and got the directory which contains the features and plugins How to install the plugin in eclipse application using the command line ? I want to automate this process
becks
  • 2,656
  • 8
  • 35
  • 64
12
votes
2 answers

Why do I need to escape unicode in java source files?

Please note that I'm not asking how but why. And I don't know if it's a RCP specific problem or if it's something inherent to java. My java source files are encoded in UTF-8. If I define my literal strings like this : new Language("fr",…
Denys Séguret
  • 372,613
  • 87
  • 782
  • 758
11
votes
2 answers

How can I add git hashes to my Eclipse RCP application About page?

In the past, using mercurial with Visual Studio, I used to add mercurial changeset ids to my application so that when the user did a Help About, it would list all components and their exact mercurial revision. It would also log all changeset ids to…
Mark Booth
  • 7,605
  • 2
  • 68
  • 92
11
votes
6 answers

Proper way to bind a radio button group using JFace data binding

I was wondering if anyone could explain to me how I could properly bind a group of radio buttons to a boolean variable in the model using JFace data binding. Let me explain the situation first: I've created a class that represents a group of SWT…
Sandman
  • 9,610
  • 8
  • 36
  • 41
11
votes
3 answers

Eclipse RPC bundle activation error: "The System Bundle was updated"

I get the following error when I try to launch my Eclipse RPC application: !SESSION 2011-05-05 17:07:38.649 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader…
Raman
  • 1,507
  • 3
  • 15
  • 25
11
votes
2 answers

Override Eclipse File > Save Action

I am trying to override the Eclipse File > Save menu action to add some functionality. I have tried the following things a) Create a new action and add it to the global action handler actionBars.setGlobalActionHandler(ActionFactory.SAVE.getId(),…
Abhishek Rakshit
  • 691
  • 7
  • 12
11
votes
2 answers

hotkey/shortcut for: "Which plugin is this?"

Please forgive such a simple question, I've been away from RCP for about a year: What shortcut/hot-key combination can I use in Eclipse to discover the plugin that contributed/owns the current view? I remember it bringing up the plugin.xml of the…
Martin Cowie
  • 2,788
  • 7
  • 38
  • 74
11
votes
1 answer

How to avoid the specific feature versions in eclipse target definitions

I have an osgi project that is split into 3 repositories. Each repository has its own build into p2 repository with Tycho: Repo1 -> P2 repo 1 Repo2 -> P2 repo 2 Repo3 -> P2 repo 3 Also each repository has a target definition file that includes the…
Ivan
  • 111
  • 4
11
votes
3 answers

Populating huge table in SWT/JFace RCP application

How would you go about displaying huge amount of rows in SWT table? Huge is something above 20K rows, 20 columns. Don't ask me why I need to show that much data, it's not the point. The point is how to make it work as fast as possible so that end…
Dima
  • 4,068
  • 4
  • 38
  • 47
10
votes
2 answers

Overview of ISharedImages?

The Java UI plugin provides the Interface ISharedImages to access standard images which can be used in own plugins. e.g. Image image = PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_ELEMENT); This works very well but I…
Kai
  • 38,985
  • 14
  • 88
  • 103
10
votes
2 answers

Some tutorials with Eclipse/WindowBuilder Pro

I am looking for tutorials about how to write a rcp program with window builder pro, any resources links, OK? Thanks a lot.
liunx
  • 751
  • 4
  • 13
  • 32