rcp

Creating Tycho product error: Missing requirement

天大地大妈咪最大 提交于 2019-12-13 04:29:55
问题 I'm new to Tycho. I am trying to create a product using Tycho, but every time I run it, I run into the following error: Cannot resolve project dependencies: [ERROR] Software being installed: RCPplugin.RCPplugin 0.0.1.qualifier [ERROR] Missing requirement: RCPplugin.RCPplugin 0.0.1.qualifier requires 'org.eclipse.rcp.feature.group [3.7.2.dist-8R9GFpOFUdy-521934]' but it could not be found [ERROR] [ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is

Launching eclipse application with java web start generates java.lang.ClassNotFoundException: org.eclipse.swt.SWTError

夙愿已清 提交于 2019-12-13 04:08:22
问题 I have an Eclipse application, for which I created the feature for generating the jnlp file. I built the application with maven tycho, for architectures x86 and x86_64. When I try to start the jnlp for the application, I see that all the resources are downloaded, but the application does not start. If I try to open it in a broswer, it starts. I checked the logs for the first case and I got the following: eclipse.buildId=unknown java.version=1.6.0_26 java.vendor=Sun Microsystems Inc.

Eclipse RCP Target Platform: Bundle 'org.eclipse.ui.views.properties.tabbed' cannot be resolved

萝らか妹 提交于 2019-12-13 03:40:10
问题 I just created my first target platform and ran into a problem: The Bundle org.eclipse.ui.views.properties.tabbed cannot be resolved. My target platform has one location: http://download.eclipse.org/releases/indigo Eclipse Platform Launchers Eclipse RCP SDK I set this as my target platform and validated plug-ins in the run configurations. In the run configurations there is no bundle called org.eclipse.ui.views.properties.tabbed so I cannot activate it. I am sorry if this is an easy and stupid

Add icon button beside tree item in eclipse tree

蓝咒 提交于 2019-12-13 02:35:47
问题 I wonder how to add an icon that acts as a button in the right side of a tree item the selection of this icon should have different action than selecting the tree item itself. How can I do that? Example: consider this is the main tree http://www.eclipse.org/articles/Article-TreeViewer/images/main.gif and I want to add icons to the right side of some tree items' label like http://store2.up-00.com/June12/8QI59630.gif just as when I click on the black star icon, I make a different action than

Run Eclipse RCP application with Java instrumentation

删除回忆录丶 提交于 2019-12-13 01:23:54
问题 Using Java instrumentation, we can access a class that is loaded by the Java classloader from the JVM and modify its bytecode by inserting our custom code, all these done at runtime. We need not worry about security, these are governed by the same security context applicable for Java classes and respective classloaders. We are able to access some java application using this as they run in same classloader. Now what we are trying to do is to access eclipse RCP application using java

Eclipse RCP standalone export problem with Groovy scripts

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 19:26:41
问题 I am trying to export a standalone RCP app using Eclipse 3.5.2. The app has a main pure Java plug-in, and a Java / Groovy plug-in that is used by the main plug-in. When I export the main RCP plug-in using the "Export Wizard", I get compiler errors saying that the Groovy classes cannot be found, e.g ERROR in C:\mysrc\src\ch\calcs\providers\CalcProvider.java (at line 8) import ch.calcs.ArgSet; This plug-in works fine when run from within Eclipse. EDIT: Also tried this using a hand-crafted plug

How do I detect that a SWT dialog has been opened and is visible?

不打扰是莪最后的温柔 提交于 2019-12-12 17:03:18
问题 I have an SWT WizardDialog with a number of pages. When this dialog first opens I have to do a check for some conditions and if those conditions are met I need to show a popup over the freshly opened dialog. So I have this code to listen for SWT.Show event. The event listener responds to SWT.Show to conduct its tests and show a message box: final WizardDialog dialog = new WizardDialog(shell, wizard); dialog.setTitle("New Wizard"); dialog.create(); dialog.getShell().addListener(SWT.Show, new

Eclipse RCP: Making use of configuration directory

独自空忆成欢 提交于 2019-12-12 08:38:21
问题 My Eclipse RCP application requires a configuration file that contains some information to connect to a remote database. Where is the best location to store this configuration file? Can I use the default configuration directory (where 'config.ini' is usually stored) for this purpose? If so, how can I get a File instance to this location programmatically? I also note that this directory does not exist in my Eclipse IDE. Thanks. 回答1: You have, as always, a number of options, depending on your

What do the PDE icons in Eclipse mean?

被刻印的时光 ゝ 提交于 2019-12-12 06:25:26
问题 Following the question "What do the icons in Eclipse mean?" that has an excellent answer I hope to find what all the icons and icon decorations of the "Plug-ins" and "Plug-ins Dependencies" views of the PDE 回答1: I can fill in most of those: Main Icons : Plugin : Fragment Overlays : Re-exported by parent plugin : Optional import : Exists in the target platform (not the workspace) 来源: https://stackoverflow.com/questions/17277288/what-do-the-pde-icons-in-eclipse-mean

How to remove a perspective from perspective toolbar(placed in the top right corner) programmatically

岁酱吖の 提交于 2019-12-12 03:35:38
问题 If i select a perspective(eg. Java EE perspective) from "open perspective" combo the perspective will be opened and it will be added near to the "open perspective" icon placed in the toolbar.Upon changing multiple perspectives the respective perspectives will be added in toolbar for shortcut purpose. I have an rcp application in which we can install selective/all plugins from the available list of plugins.First i am installing all the plugins, opening the rcp application(windows msi) and