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...
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,
...
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...
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 ...
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...
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...
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...
When using the SWT/AWT bridge to draw Swing components inside an SWT application, can these components benefit from AWT's hardware acceleration?
...
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?
...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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 ...
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?
...