Tag Archives: RCP

Generic Eclipse 3.x views, editors and handlers with DI – by René Brandstetter

In this blog entry I will show you three independent features provided by Eclipse and OSGi which can work together to create views, editors or handlers via the Eclipse ExtensionRegistry but still use the dependency mechanism of Eclipse 4. Supersede … Continue reading

Posted in Eclipse, Lars Vogel | Tagged , , , , , | Comments Off on Generic Eclipse 3.x views, editors and handlers with DI – by René Brandstetter

Inject your JPA EntityManager into an Eclipse RCP application – Guest post by Nepomuk Seiler

Inject your JPA EntityManager The dependency injection in Eclipse 4 is really nice. However you cannot inject your EntityManager like in JavaEE6. Until now. The Gemini JPA project provides an OSGi service implementation for EntityManagers and EntityManagerFactories. A set of … Continue reading

Posted in Eclipse, Lars Vogel | Tagged , , | Comments Off on Inject your JPA EntityManager into an Eclipse RCP application – Guest post by Nepomuk Seiler

Context functions in Eclipse RCP

Context functions in Eclipse RCP are powerful tools. They allow you to register for certain keys in the context and create objects for these keys lazily. I created a separate tutorial for them. See Context functions in Eclipse for details … Continue reading

Posted in Eclipse, Lars Vogel | Tagged , , | Comments Off on Context functions in Eclipse RCP

Eclipse Development – In which plugin do I find this class?

A common question for Eclipse Plugin or Eclipse RCP developer is in which plugin a certain class is included. A very easy way for finding this information is the Open Type Dialog (Hotkey Ctrl + Shift +T). Just look in … Continue reading

Posted in Eclipse | Tagged , | 5 Comments

Re-using the Eclipse proxy preference settings in your Eclipse RCP application

The following demonstrates how to re-use the Eclipse proxy preferences in an Eclipse RCP application. Create a project “de.vogella.rcp.net.proxy” and select the “RCP application with a view” as template. Add the preferences command to your application. See Eclipse Preferences Tutorial … Continue reading

Posted in Eclipse | Tagged , , , | 5 Comments

Eclipse RCP – Removing the minimize and maximize buttons from Views

I got the question how someone could remove the maximize and minimize buttons from a view in an Eclipse RCP application. To archive this I know two ways. Either set the layout to fixed in initialLayout() in Perspective.java [sourcecode language=”java”] … Continue reading

Posted in Eclipse | Tagged , | 5 Comments