eclipse-rcp

Eclipse RCP Dynamic help customization

南楼画角 提交于 2020-05-24 05:31:46
问题 Implemented eclipse dynamic help with 3.x with static html files earlier(html files located in soruce folder) Now the href for each topic has to be replaced with dynamic url, url changes every day.So cannot map the url in context.xml. How can we pass the dynamic URL for each topic on the fly. earlier implementation is with below api : PlatformUI.getWorkbench().getHelpSystem().displayDynamicHelp() 来源: https://stackoverflow.com/questions/61516361/eclipse-rcp-dynamic-help-customization

How to troubleshoot dependency problem with OSGi libraries when doing a PDE build?

心不动则不痛 提交于 2020-04-30 09:25:11
问题 I'm trying to build a feature product using the latest Eclipse 2020-03 (4.15.0) version and hitting the error Unresolved requirement below. I have this same exact issue with Eclipse 2019-12 (4.14.0). This issue does not occur if using Eclipse Mars (4.5.2). eclipse.buildId=4.15.0.I20200305-0155 java.version=1.8.0_252 java.vendor=Amazon.com Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -application org.eclipse.ant.core.antRunner -verbose -buildfile c:

How to write eclipse rcp applications with scala?

烈酒焚心 提交于 2020-04-07 12:46:40
问题 The Scala Eclipse plugin page says: * Support for Eclipse plugin and OSGi development including hyperlinking to Scala source from plugin.xml and manifest files. How does this support work? There's no wizards for making Scala plugins. I've found no documentation on how to use Scala in a Eclipse plugin/RCP application. Is it even possible? 回答1: Yes, it is possible. In fact, the Scala Eclipse plugin itself is written in Scala. I've never created a Scala RCP app myself, but I'm guessing that what

How to write eclipse rcp applications with scala?

谁说胖子不能爱 提交于 2020-04-07 12:46:05
问题 The Scala Eclipse plugin page says: * Support for Eclipse plugin and OSGi development including hyperlinking to Scala source from plugin.xml and manifest files. How does this support work? There's no wizards for making Scala plugins. I've found no documentation on how to use Scala in a Eclipse plugin/RCP application. Is it even possible? 回答1: Yes, it is possible. In fact, the Scala Eclipse plugin itself is written in Scala. I've never created a Scala RCP app myself, but I'm guessing that what

Maven Tycho RCP Product Not Found After Moving Folder

自古美人都是妖i 提交于 2020-01-25 11:28:55
问题 Following the Vogella Maven-Tycho tutorial, I have ran into a runtime error. After exporting my project I am unable to launch it. The following error occurs after my headless build, and also after an eclipse export wizard build. It triggers the following runtime error: !SESSION 2018-08-23 13:42:44.875 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_181 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

Eclipse Plugin - get Launch Configurations Tree List in a Dialog.

牧云@^-^@ 提交于 2020-01-24 19:44:10
问题 I'm currently trying to get the red part of the "RunConfigurations..." window, (see img 1.1) into an TitleAreaDialog (see img 1.2). The final result should look like this: (see img 1.3) img 1.1 img 1.2 img 1.3 With the plugin "Spy" I found some useful information: The "Run Configurations..." window (img 1.1) is created in the class: "LaunchConfigurationsDialog" which has a "LaunchConfigurationView" as an attribute (note: this attribute is a class). Within this private attribute you find a

SWT TreeViewer is slow when filling with many elements

时间秒杀一切 提交于 2020-01-24 14:13:46
问题 I'm new in the java world, so I'm sorry if my question is trivial. I'm developing a Eclipse view part, and I'm filling a SWT tree view with the following data structure. All data is in memory: Node1 Child1 Child2 Node2 Child1 ... Child2915 I think that is not a very big tree, but it is slow being drawn (10 seconds). I have manage trees in .NET with more than 10.000 elements and it loaded smoothly. I don't know if I've implemented the code, but the same problem appeared in .NET if I did not

Eclipse rcp - how to load jdbc driver?

為{幸葍}努か 提交于 2020-01-24 12:43:26
问题 I was wondering if someone could give me some instructions on how to do the following: How to add mysql connection JAR file to the Eclipse plugin build path How to add the connector JAR file as library and adding to the plugin's runtime classpath I am getting com.mysql.jdbc.Driver exception when trying to load the Driver class using Class.forName("com.mysql.jdbc.Driver") . I have added the jdbc driver to the project by right clicking on the project name and selecting add Library button. But I

Eclipse rcp - how to load jdbc driver?

有些话、适合烂在心里 提交于 2020-01-24 12:41:13
问题 I was wondering if someone could give me some instructions on how to do the following: How to add mysql connection JAR file to the Eclipse plugin build path How to add the connector JAR file as library and adding to the plugin's runtime classpath I am getting com.mysql.jdbc.Driver exception when trying to load the Driver class using Class.forName("com.mysql.jdbc.Driver") . I have added the jdbc driver to the project by right clicking on the project name and selecting add Library button. But I

Eclipse RCP 4 - Handler method parameters

試著忘記壹切 提交于 2020-01-23 11:44:32
问题 I'm currently taking a look to the new Eclipse RCP framework and have a questions about handlers. In RCP 3.x a handler class needed to implement an interface, so the methods where given. In RCP 4 the handler class doesn't need to implement an interface. Instead you annotate the methods. E.g. if you have an ExitHandler as in Vogellas Tutorial you have an @Execute annotation. As you can see, there's an IWorkbench parameter passed. package com.example.e4.rcp.todo.handler; import org.eclipse.e4