eclipse-rcp

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

reference non plugin project to eclipse plugin project

懵懂的女人 提交于 2019-12-09 17:29:40
问题 Can I add a reference from an eclipse plugin project to a non plugin jar? This is a jar that I can not change, so i have to use it as is. Thank you Ido 回答1: The safest approach would be to create a new plugin from your existing jar file: Select New project -> Plug-In Development -> Plug-in from existing JAR Archives Then choose the jar file(s) (' Add Externals ' on Galileo), name the project and fill in some plug-in properties (optional) and choose whether you want to unzip the jar or keep it

Unable locate installable unit in target definition

我们两清 提交于 2019-12-09 16:09:34
问题 I created my own target definition. It worked perfectly until now. Today I opened this target definition and got following error for all software sites I have there: Unable to locate installable unit <unit name> The target definition file looks like this: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <?pde version="3.6"?> <target name="indigo" sequenceNumber="20"> <locations> <location includeAllPlatforms="false" includeMode="planner" includeSource="true" type="InstallableUnit">

org.eclipse.swt.SWTException: “Widget is disposed” from table refresh

ε祈祈猫儿з 提交于 2019-12-09 16:07:42
问题 The app is an Eclipse 3.6 based RCP (so jface version 3.5.2) running on windows 7. I have a custom View class that contains a TableViewer and calls refresh() on it. Sometimes, but not very often it results in the stack trace below. It's called from within the UI thread. I suspected the problem was with other code that changes the backing list to the table, but that any code that does this is also run in either a syncExec or asyncExec method so I don't understand how it could be a

Eclipse RCP 4 vs NetBeans Platform 8 today: what to choose?

余生长醉 提交于 2019-12-09 15:53:22
问题 I'm about to start a fairly big application for my company, and since it HAS to be cross platform, we're pointing towards Java (would have loved C#, but explored the Xamarin ecosystem and the Mac part seems to be quite behind the rest package...) Now, I'm evaluating both Netbeans 8 and Eclipse 4 as RCP. Before I continue I have to say that I've been maintaining for almost a year our previous software which was written in Netbeans Platform, but it has so many performance issues and so many

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

Where to store “global” data in Eclipse RCP Application?

前提是你 提交于 2019-12-09 05:06:15
问题 I'm a beginner with Eclipse RCP and I'm trying to build an application for myself to give it a go. I'm confused about how one actually goes about handling model objects. None of the examples I can find deal with the problem I'm having, so I suspect I'm going about it the wrong way. Say I need to initialise the application with a class that holds authenticated user info. I used my WorkbenchWindowAdvisor (wrong place?) to perform some initialisation (e.g. authentication) to decide what view to

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

How do I build an Eclipse RCP app so that its features can be updated automatically?

为君一笑 提交于 2019-12-09 04:35:49
问题 I am building an RCP application that will be made up of several Features. My RCP application is configured to check for updates each time it starts. My current problem is that I need one of my Features to be 'Installed' at build time so that it will get updated during this automatic check for updates without forcing the user to manually install it. I need this feature to update independently from the other features in the system. So, to recap, I'm just looking for a nice automated way to

eclipse product invocation causes java.lang.RuntimeException: No application id has been found

 ̄綄美尐妖づ 提交于 2019-12-09 02:29:50
问题 I just exported a product that is working nicely if I hit the "Launch an Eclipse application" button. If try to execute the exported product, I get following exception on the startup: !SESSION 2012-03-16 17:28:21.206 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_26 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.osgi 4 0 2012-03