eclipse-rcp

RCP Command with object argument

I want to call an RCP command in code, like this: IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); IHandlerService handlerService = (IHandlerService)window.getService(IHandlerService.class); handlerService.executeCommand(cmdID, null); With considerably more code, I can call the command with a str...

Add Eclipse plug in to Eclipse RCP App

Hello, I'm trying to add an Eclipse plug in (BPMN Modeler) to a Eclipse RCP App so I can have the model editing and viewing capabilities offered by that plug-in. I have read several tutorials but none explained how this can be achieved. Maybe you can point me to a better direction. Thank you, ...

How can I get an Eclipse installation that includes source code of its plugins?

I need to look at the source of some core plugins of eclipse. I've downloaded the Eclipse for RCP and RAP developers. To get the source of a plugin, I go to the "Plug-ins" view and right click on the plugin. Then, I select the "Import As" menu item and the "Project from a Repository..." submenu item to check out the plugin from its CVS r...

What is my Eclipse-RCP application storing in $HOME/.eclipse, and how do I prevent it?

When I run my Eclipse RCP application, it creates a whole lot of directories in my $HOME/.eclipse directory. What is this? I don't want the files there, how can I hinder them from getting there? The rational for this: the application must run very clean and only leave files at one specific location (not $HOME/.eclipse). I'd figured it ...

How to export Eclipse RCP through command line

Hi All, We have an Eclipse RCP product, for automation purpose, we'd like to export this product through the command line. Actually, I found someone asked the similar questions before, such as http://stackoverflow.com/questions/133234/building-eclipse-plugins-and-features-on-the-command-line. I followed the Eclipse PDE help guides, and...

Bundle-ManifestVersion=2 vs. Bundle-ManifestVersion=1

Background: We are building an eclipse RCP plugin with Maven and generating the MANIFEST.MF file with the Apache Felix plugin. This plugin is part of a bigger RCP framework that is developed internally in our company. The problem: The Felix plugin sets Bundle-ManifestVersion=2 in the MANIFEST.MF file. When we use this manifest file...

Eclipse RCP: Target platform - Eclipse vs. Equinox?

Hi, I'm just starting with OSGi and Eclipse RCP. Could someone explain to me the difference between "Eclipse" and "Equinox" as the target platform, when creating a new eclipse plugin project? I still know that Equinox is Eclipse's implementation of OSGi. I read in some articles that eclipse rcp is also based on Equinox. So where is the d...

Can Swing components under SWT be accelerated?

When using the SWT/AWT bridge to draw Swing components inside an SWT application, can these components benefit from AWT's hardware acceleration? ...

Performance of Eclipse GEF/Draw2D for graphs with many nodes

How does drawing large (10.000 nodes) graphs perform when using Eclipse GEF or Draw2D? The nodes can be drawn very simplistic (a circle); no labels and stuff. Is using GEF/Draw2D feasible for this task? ...

Eclipse workbench application start up problem

I have created one workbench application plugin not eclipse rcp application. I have not created any plugin template for that workbench application. Now When I run the workbench application Activator is not calling. I put System.out.println("Insided start()") inside the start method of the Activator.java. But it is not calling the start m...

Eclipse marker is Invisible

Hi, I am facing a strange problem while adding custom eclipse marker. The scenario is that while adding marker, when a resource(To which I need to add marker) is open then Marker icon is visible. But if the resource is not open then marker is added but icon is not visible. Here is a snippet of code I am using <extension id="H...

How to update a view from code in an Eclipse RCP app.

I have a View class (extends ViewPart) that contains a ScrolledForm created from a FormToolkit. When certain events happen in other views in the app I want to change the form in this view and have it update in real time to the user. I have property change support support added now and the following method in the View public void p...

How to use Eclipse RCP command framework Save command with the default save action?

The Eclipse RCP command framework is intended to replace the action framework as the mechanism for allowing plugins to contribute UI commands to the workbench. As well as defining new commands, plugins may provide handlers for default RCP commands such as "org.eclipse.ui.file.save" (full list of default commands here: http://svn2.assembl...

Swing, Eclipse RCP or which way to go?

Hi there, I'm a developing primary Java webapplications at work. I would like to start creating a little java desktop app. It should be a simple CRUD app with database connection, 2 - 3 forms and a smart stats page. To be honest: I'm kinda lost in this topic. I've took some time to guide through swing but the tutorials are all old and m...

Refreshing the workbench

HI, I am facing some problem.. I want to hide the menu when eclipse workbench starts. But the problem is menu is not hiding when the eclipse workbench starts. It is hiding only when some refresh is happened. for example: when I change the default perspective to some other perspective, I am getting the desired out put. That means menu is...

Why is the "Source Code Locations" page missing on eclipse 3.6 (Helios)

I'm trying to add JFace source code on my Target Platform in Eclipse 3.6. Many help page on the internet refers to a "Source Code Locations" tab from the Target Platform preferences page. I do not have that tab on a fresh Eclipse 3.6 including RCP development (eclipse-rcp-helios-SR1-RC4-win32.zip). Here's a screenshot of my Target Plat...

Eclipse RCP update a View after changes in the editor

Hey, i am new to Eclipse RCP and have the following Scenario: One plugin which is the Application Another witch is a view and does show some Data And a third which is the editor. in the view I can right click on a record and choose edit what does open the Editor and lets me change the data. No I'd like to refresh the View when I ...

Android SDK: Multiple text fields from App saved to external file

Hello all, I may be going over my head but I am trying to make a couple of apps for my own work usage as a photographer that will save me time and negate the need for paper. I need some help! But first, what I have at my disposal: Eclipse for RCP and RAP Developers, Helios Service Release 1 Android SDK (Latest with all APIs downloaded...

Eclipse RCP: P2 Update feature fails

I have a prodcut that include 1 feature (application.feature) that contains one plugin with application this feature has, in included feature, another one (framework.feature) if I update framework.feature and one of its plugin I got this error (I use "install new software" to get the correct error, because if I just try to update I go ...

is it possible to have vertical SWT controls?

I would like to have some of the controls in an app - Buttons and Labels - vertically oriented - . However i could not find a possibilty to do this. Even the non-public setOrientation method tackles only the left-to-right orientation. Is it possible without implementing a custom Button or deriving from Canvas? ...