eclipse-rcp

Setting network options in a RCP Application

We have a RCP application that does sometimes get some data from URLs in the internet. Our customer uses a Proxy-Server, and we can't get to the information we need unless the network-settings are correct (Setting IP of Proxy and the Port-Number). In Eclipse (the IDE), there is the Preferences->General->Network Connections Dialog to set...

Starting Eclipse RCP from within Java code

Hello, I would like to start a Eclipse RCP 3.x application from within Java code. I need to do this because I need to launch the RCP app from within a framework, that needs to be initialized first. To have access to this other framework (which is SAP NetWeaver Mobile by the way), both applications need to run in the same JVM - therefor...

How to use MessageDialog.open() with QUESTION_WITH_CANCEL?

I'm wondering how to use the new *QUESTION_WITH_CANCEL* dialog kind when opened with MessageDialog.open(int kind, Shell parent, String title, String message,int style). Since the open method is returning boolean and now we have 3 possible state from Yes, No, or Cancel. ...

Populating huge table in SWT/JFace RCP application

How would you go about displaying huge amount of rows in SWT table? Huge is something above 20K rows, 20 columns. Don't ask me why I need to show that much data, it's not the point. The point is how to make it work as fast as possible so that end user won't get bored waiting. Each row displays an instance of some object, columns are its ...

Developing Eclipse plugins without Java

Is it possible to create Eclipse plugins/program Eclipse RCP apps without Java? (preferably in Jython) ...

How to deploy Java Communications API

I've been developing a java application with the eclipse RCP which requires the Java Communications API. Now as the javax.comm has to be setup first (install javax.comm.properties, win32comm.dll and comm.jar) my question ist: How should I deploy my application to make sure javax.comm will be setup on the user's machine? Should I provide ...

Two Eclispse projects -> One Eclipse Plug-in

Background I'm a developer of the Vrapper project. Vrapper contains of 2 major parts Vim-emulation library (vrapper.core) Eclipse part that makes a good use of it We want vrapper.core to be Eclipse-unaware, so it's reusable outside of the Eclipse. Currently, we can "vrap" all sorts of Eclipse text editors and our little mock text e...

Packaging one or two plugins as a standalone RCP application?

I have a handful of Eclipse plugins that I maintain. They are proving useful enough that non Eclipse users have asked for them without the overhead of a full eclipse install. I am certain this is possible, but uncertain how to make this possible. My attempts at creating a standalone RCP app and then including my plugins as dependencies ...

could not find framework in eclipse RCP application

Hi, I have developed one eclipse RCP application which I am calling from my own Java program. When I run my own Java program from command prompt (windows) it is perfectly working and giving the results. But when I have integrated with the ant build script in eclipse 3.2 it is giving the following problem: !ENTRY org.eclipse.core.launc...

Best practice for passing values from a non-UI thread to a UI thread in an Eclipse plugin application

Is there a best practice/shining example out there of passing values from a non-UI thread to a UI thread in an Eclipse plugin application? ...

Plugin version on log4j log file

I'm developing an RCP application and use log4j to generate logs. Whenever an exception is logged, I want to include a line on the log file to identify the application version. I could do that by force on the log4j.appender.file.layout.ConversionPattern line on the log4j.properties file, simply writing it down, but then I'd have to rem...

How to remove "restore defaults" and "apply" button in custom RCP Preference Page

When creating a preference page in RCP, e.g. something like: public class MyPreferencePage extends org.eclipse.jface.preference.PreferencePage implements IWorkbenchPreferencePage how can I remove the "Restore default values" and "Apply" buttons which get added by default. Using this.getDefaultsButton().setVisible(false); this.getAp...

How to make an Eclipse debug launcher that launches a Class

I'm trying to make an Eclipse launch configuration that I can launch programmatically, kind of building a custom debugger if you like. I've already got an org.eclipse.debug.core.launchConfigurationTypes extension, as well as .core.launchDelegates, .ui.launchConfigurationTabGroups and .core.sourcePathComputers extensions. I've got a bu...

Eclipse RCP: Only one Job runs at a time?

The Jobs API in Eclipse RCP apparently works much differently than I expected. I thought that creating and scheduling multiple Jobs would actually cause multiple worker threads to be created, executing the Jobs in parallel unless there was an ISchedulingRule conflict. I went back and read the documentation more closely, and also discove...

Rapid Java UI tools for backend server testing

We have a Java server application using a message based communication passing around strongly typed complex POJO messages. Our regular client is a rich-client Flex application that has a very heavy art and UI development process that doesn't lend itself to rapid prototyping. We are planning on building a Java UI to test server functiona...

Unable to run c/c++ exe from eclipse RCP

I am trying to run my c/c++ .exe from eclipse RCP (Java API). Code: package com.jkt.rcp.texteditor.handlers; import java.io.IOException; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; //import com.jkt.runner.utils.Test; public c...

Eclipse RCP app, find duplicate entries for some plugin after update, same plugins then fail

have an Eclipse Galileo RCP application with updates provided by an Eclipse Update Site Project put on a web server. after the update, the application fails (in particular, one of the update plugins fails). when looking at the informations about the application and clicking 'Installation Details', it can be noted that the plugin (the fai...

Extend ExportWizard defined in Plugin A in a depending Plugin

I'm having Plugin A which extends the 'Export Wizard' via the org.eclipse.ui.exportWizard ExtensionPoint. Plugin B depends on Plugin A, is it possible to add WizardPages defined in Plugin B to Plugin A? I know adding Pages dynamicly is possible withhin the same Plugin with the DynamicWizard and function getNextPage. ...

SWT and blinking

I need the ability to have a blinking (red, maybe more colors) background for rows in a TableViewer/TreeViewer. What are the best options? There may be more than one row blinking, the blinking MUST be synchron and I need two blinking modes, fast and slow. ...

Common usages of views and editors in Eclipse RCP applications regarding to enterprise automation?

Hello. I am a software developer working with different ERPs based on different platforms. Java is one of them. I've decided to learn Eclipse RCP. I am trying to understand the basics of Eclipse RCP regarding its views and editors concept. Working with other platforms I don't care how to make a form in GUI. All the forms in my applicati...