rcp

Eclipse RCP application Log View: change/set TimeZone for messages sent to the Eclipse Log view

依然范特西╮ 提交于 2019-12-10 11:26:11
问题 I'm developing an RCP application that uses the Eclipse Log view. All the messages logged have the TimeZone set to system current time. I need to have those messages all in GMT time for example As far as I can see, there is no direct customisation possibility regarding the emitted timestamps in the Eclipse Log view. Subclassing of Eclipse classes etc. wouldn't help much either, since most of the things we would have to change are private fields / private methods of 'internal' classes. Any

eclipse rcp change icon for xml configuration file

十年热恋 提交于 2019-12-10 11:18:19
问题 I built an Eclipse RCP application that uses the configuration.xml in the root of the project for some project configurations. I would like to customize the icon and keep default xml editor. I found one blog post, that does exactly what I'm looking for a property file. I extracted it: <extension point="org.eclipse.core.contenttype.contentTypes"> <content-type base-type="org.eclipse.core.runtime.properties" file-extensions="config" id="in.cypal.eclipse.myConfig" name="My Config File" priority=

Eclipse RCP application custom toolbar

不羁岁月 提交于 2019-12-09 19:46:52
问题 I am creating a custom toolbar for my RCP application. As shown in figure I want to have a drop down box with three other text boxes. These are basically the input box and are interdependent. Right now each of these boxes are in separate classes. I want to bring them together in one class so it is easier to create listeners for each other. protected void fillCoolBar(ICoolBarManager coolBar) { IToolBarManager toolbar = new ToolBarManager(coolBar.getStyle()); coolBar.add(toolbar); Toolbar

P2 update of RCP based application fails

吃可爱长大的小学妹 提交于 2019-12-09 10:08:44
问题 I trying to update an Eclipse-RCP-3.5 based application by an P2 update-site. The Application contains two features. Product is built by Eclipse Buckminster . Creation of the P2 update site is part of the product build. When start the update by menu: Update -> Check for Updates a messages box is shown: There is nothing to update. When i try menu: Update -> Install New Software... and select the same update-site an error is reported: Your original request has been modified. "Verinice Anwendung

How can I remote debug my rcp application?

泪湿孤枕 提交于 2019-12-09 06:59:59
问题 Because my RCP eclipse application fails when run outside of eclipse, but works correctly when running inside of eclipse, I am attempting to use eclipse to remotely debug my application as it's running outside of the eclipse environment. I am using 32 bit Eclipse 3.6.1 on a 64 bit Windows 7 machine. I am using 32 bit Java 1.6 update 37. I use the Eclipse Product export wizard to package the app, and I end up with an eclipse.exe. I have created a Remote Debug Configuration and set it to use

Eclipse 4 RCP (aka E4) documentation

血红的双手。 提交于 2019-12-09 04:44:44
问题 Is there at least anything other than Vogella's tutorials and his book , which is completely based on those tuts? Examples from his repo are often either incomplete/unfinished/won't run and those examples even don't match the book actually.. I'd like to find at least some javadoc for this, because any step to a side and I'm completely lost on how to accomplish different tasks and what functionality is available. 回答1: Lars Vogel's Tutorials are the most complete and up-to-date documentation on

Eclipse RCP4 close Part on exit / disable persistence of a Part?

别来无恙 提交于 2019-12-08 12:35:45
问题 i'm working on an Eclipse RCP4 project. I have different perspectives showing a set of Parts to choose informations from. After selecting what i want to see, a new Part opens and displays the objet i want to edit / view attibutes of. I can open many parts of the same type. If i close the application, the eclipse framwork persists the position of all opened Parts. If i restart the application all previously opened Parts are open but without informations. -How to prevent Eclipseframwork from

How to add perspective change listener in e4 RCP application?

半世苍凉 提交于 2019-12-08 09:29:09
问题 I am currently working on a E4 RCP application where I need to detect when ever perspective is chnaged or switched so I need to add listener .Previously in eclipse 3x i used to do like below code . PlatformUI.getWorkbench().getActiveWorkbenchWindow().addPerspectiveListener() But this code will not work in E4 as platformui is not acessible in E4. I tried searching on web and I came across below tutorial. http://www.vogella.com/tutorials/Eclipse4ModelEvents/article.html#exercise_perspective

Eclipse RCP Toolbar buttons with the Eclipse Look

孤人 提交于 2019-12-08 05:08:19
问题 In Eclipse, its easy to specify buttons for your toolbar using the ActionSets extension point. However, when I need to specify some items programmatically, I can't get the same look. I don't believe that the framework is using native buttons for these, but so far, I can't find the right recipe to match the Eclipse look. I wanted to see if anyone has found the right snippet to duplicate this functionality in code. 回答1: It's difficult to tell from your question, but it sounds like you may be

Eclipse plugin with external third party jar

▼魔方 西西 提交于 2019-12-07 21:30:40
问题 I have an RCP application which includes different plugins. In one of the plugin I am using an external third party jar. Due to copyrights reasons I cannot bundle that jar into my product. So I try to include the jar as external jar at runtime. what I have done is as follows In the Plugin manifest.mf I have Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: EaCom-plugin;singleton:=true Bundle-Version: 2.1.0 Require-Bundle: org.eclipse.core.runtime