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
9
votes
5 answers

Can't get eclipse to recognize my plugin

I exported my eclipse plugin through the "Export Wizard" in the manifest and seems like everything went well (no errors). It created a .jar file within a plugin directory in a zip file. I thought putting the jar into my Eclipse plugin directory…
Marco A.
  • 43,032
  • 26
  • 132
  • 246
9
votes
2 answers

Require-Bundle and Import-Package versus feature.xml requires

When building an Eclipse plugin (lato sensu) which consists of multiple plugins and one feature, I have two ways of specifying dependencies: in the plugins themselves, using Require-Bundle and Import-Package in META-INF/MANIFEST.MF; in the…
Robert Munteanu
  • 67,031
  • 36
  • 206
  • 278
9
votes
2 answers

Eclipse RCP: Where should I keep my model objects and how do they talk to the views?

In Eclipse RCP way of doing things, where should I keep my model objects? And when they are loaded or changed, how should they talk to the views? I am attempting to port my existing application to Eclipse RCP. It could be viewed as an IDE-like…
Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319
9
votes
1 answer

Eclipse RCP 4 vs NetBeans Platform 8 today: what to choose?

I'm about to start a fairly big application for my company, and since it HAS to be cross platform, we're pointing towards Java (would have loved C#, but explored the Xamarin ecosystem and the Mac part seems to be quite behind the rest…
Claudio Mezzasalma
  • 646
  • 1
  • 5
  • 23
9
votes
1 answer

eclipse plugin how to open file in IDE by code

I am working on eclipse plugin in which i have to open a file from project explorer. Suppose i have a project ABC in project explorer. after right click on project i got a option to run my plugin tool. after processing i got some result like Check…
user2379020
  • 322
  • 3
  • 13
9
votes
3 answers

Blinking background rows of TableViewer or TreeViewer in SWT

I need the ability to have a blinking (red, maybe more colors) background for rows in a TableViewer/TreeViewer. What are the best options? There may be more than one row blinking, the blinking MUST be synchron and I need two blinking modes, fast and…
Mauli
  • 16,863
  • 27
  • 87
  • 114
9
votes
2 answers

How to add @Override, @Deprecate and static modifiers to methods automatically for all project Java classes where necessary?

I need to insert @Override / @Deprecated annotations and static modifiers automatically where necessary to all Java files of concrete project is opened in Eclipse IDE. Eclipse has a great ability to insert @Override/@Deprecate annotations and add…
daniilyar
  • 2,602
  • 3
  • 22
  • 25
9
votes
2 answers

How to use eclipse 4 DI in classes that are not attached to the application model?

I have created a OSGI service with declarative services to inject an object that implements an interface. If I inject the object in a class that is attached to the application model (handler,part,....) it is working fine. If I inject it in a class…
Yves_T
  • 1,170
  • 2
  • 10
  • 16
9
votes
5 answers

Unable locate installable unit in target definition

I created my own target definition. It worked perfectly until now. Today I opened this target definition and got following error for all software sites I have there: Unable to locate installable unit The target definition file looks…
michael nesterenko
  • 14,222
  • 25
  • 114
  • 182
8
votes
2 answers

Selection and hover overrides Cell background color in an SWT Table component

I'm using SWT (and Eclipse RCP) to render a table. My problem is that if I change the background of a cell (a ViewerCell in fact) I can see that it has the new color. My problem is that if I select a row in my Table or if I hover over the row…
Adam Arold
  • 29,285
  • 22
  • 112
  • 207
8
votes
2 answers

Java: how to detect the current java runtime is a JRE or JDK?

I got a Java application, I want to provide user ability to compile Java source code (Using JavaCompiler interface) If the user run the application on a JRE, my application should tell user that the no JavaCompiler instance aviable. so how to…
CaiNiaoCoder
  • 3,269
  • 9
  • 52
  • 82
8
votes
1 answer

How to bundle Webkit into Eclipse?

Eclipse 3.7 (Indigo) now allows using Webkit as an underlying renderer for the SWT browser component. Nevertheless, runtime requirements say that Safari must be installed on the target machine. Is there a way to avoid this requirement by bundling…
Michael Spector
  • 36,723
  • 6
  • 60
  • 88
8
votes
1 answer

OSGi Declarative Services in Eclipse, multiple service interfaces, and Thread Safety

I just stumbled over a phenomenon in my code which comes down to this: I have an OSGi Declarative Service providing two service interfaces configured as follows:
Stefan Winkler
  • 3,871
  • 1
  • 18
  • 35
8
votes
1 answer

Remove the minimize/maximize buttons on views

I would like to hide the minimize/maximize buttons for views in Eclipse RCP. Currently I'm running an RCP 3 product in RCP 4 (Compatability mode). This is the top bar of the view containing all of the buttons. (I've covered up the logos…
Michael
  • 3,411
  • 4
  • 25
  • 56
8
votes
3 answers

org.eclipse.swt.SWTException: "Widget is disposed" from table refresh

The app is an Eclipse 3.6 based RCP (so jface version 3.5.2) running on windows 7. I have a custom View class that contains a TableViewer and calls refresh() on it. Sometimes, but not very often it results in the stack trace below. It's called from…
Alb
  • 3,601
  • 6
  • 33
  • 38