eclipse-rcp

Adding a filter to the Project Explorer in Eclipse

I want to add a new filter to the Project Explorer, to hide from the user some projects that are created automatically in an Eclipse RCP Application. So far I've found two extension points: org.eclipse.ui.ide.resourceFilters Allows me to filter Navigation org.eclipse.jdt.ui.javaElementFilters Allows me to filter the Java Viewers I ...

Eclipse RCP Application Fails to launch second time

I have an Eclipse RCP application that will launch properly after a clean install (right after build). The issue is that if I try to launch the application a second time the application throws an exception. I have narrowed the issue down to this file being created after the first run: ~install_dir/configuration/org.eclipse.osgi/.state ...

What technology to choose for creating reusable component for Eclipse RCP and Java web application?

We have two applications which solve different business tasks. One is based on Eclipse RCP. Another is web application based on Java server technologies. Currently we need to develop one common component. It is for scheduling events. One group of users use Eclipse RCP application and will create and plan some events. Another group of us...

Show Eclipse RCP's welcome page at every startup

Is there a way to force an RCP product to show a welcome page every time it the RCP was stared? (By default, the Welcome page is only shown for the first time the RCP is stared.) I tried org.eclipse.ui/SHOW_INTRO=true in plugin_customization.ini, but it did not do the trick... Thanks, Frank ...

How load text into JavaStackTraceConsolePage programmatically?

In my Eclipse plugin I'd like to send a Java console output (loaded from some other system) to the Java Stack Trace Console. In pseudo-code it'd be something like: get the console output from the other system obtain a reference to a JavaStackTraceConsolePage instance send the text to the console page display the console i.e. switch fro...

Is there an Eclipse RCP Calendar Widget I can add objects to?

Hi. I'm writing an Eclipse RCP app and want to add a calendar widget showing things happening each day (like the calendar on an Android phone). I've seen the Nebula DateChooser, but this seems more for choosing a date than static display of information. Features I would like: - Ability to add items to the calendar and the date to be ...

Run and Search appear in RCP Menubar

I suddenly have "Run" and "Search" in the menubar of my RCP application. Is there anyway to remove them? ...

What IDE setup and workflow is used for OSGi development?

I made quite a few easy OSGi test projects in Eclipse RCP. My typical workflow would always be: Make 3 different projects: APIproject, Clientproject and Serverproject Edit the MANIFEST.MF of APIproject to export the api package Edit the MANIFEST.MF file of Clientproject and Serverproject to add the required API package Choose "Run as.....

Problem upgrading eclipse rcp app from 3.3 to 3.5 on Mac OS

I previously had an eclipse rcp app based on eclipse 3.3 pugins deployed on both windows and mac OS X 10.4. i'm now trying to port the app to java 1.6 and eclipse 3.5 (Build id: 20100218-1602) plugins on Mac OS X 10.5.8 (Leopard). I can launch the product from eclipse 3.5 on windows but not on Mac OS X. I have the 64bit cocoa eclipse ID...

Global variables in Eclipse RCP

Hi, how do i solve this: I have usercredential informtion in my main RCP plugin. All other plugins should have that information as well. Preference Store is not possible, because also the presference store needs a nodename which needs to be globally available. Are there any possibilities to realize global variables? Thanks! ...

Eclipse RCP application launcher not working properly in Arabic

I have an RCP application which I build using the .product file and PDE. In my product file I create a binary launcher for different applications to provide convenience to the user. It all works fine except when testing in Arabic languages. In Arabic the application starts and it actually shows the Arabic characters that I mocked for te...

Change TrayIcon Tooltip from ProgressMonitorDialog

Hello, I am using the Eclipse RCP trayitem, which is described in Vogellas tutorials. The requirement now is not only to show the name of the app in the tooltip but also a percentage while doing lengthy operations. I understand that the trayitem attribute is a private from ApplicationWorkbenchWindowAdvisor, so I added a getter and set...

Building Eclipse RCP application, running fails

Hi, after successfully building my application the start fails because it relies on config files which are located in the META-INF directory and after the build this directory is zipped into a jar file, hence making it unable to access the config files. After manually unzipping the jar, deleting the jar and renaming the directory with x...

Eclipse Intro / Welcome page

Hello, is it possible to have links on the welcome page which point to defined commands and for example, launch an dialog? I am thinking of having a welcome page, pointing out the steps what to do first, like: 1) change language (click here) 2) set up database connection (click here) 3) start working (click here) "click here" should...

How to reopen a viewpart from menu?

Hi, i have one perspective and one viewpart. The viewpart is shown as soon as the program opens. The viewpart should be the only one and should be closeable. I have two problems with that behaviour: I want the perspective to be shown empty, just a background image should being shown. (How do I do that?) I want to open the ...

How to count the number of open editor instances in an Eclipse RCP Application?

Hello! :-) I'm beginning to use the swtbot to test my reccent eclipse rcp projekt. A specific editor is opened multiple times in my application and want to count how often the editor is opened. How can i do that using swtbot? Thanks! :-) ...

Eclispe RCP SWT menus for Windows and Mac OS

Hi, how do I configure an Eclipse RCP command style menu to match the different menu structures on Windows and on Mac OS? Mac OS X menu example http://images.apple.com/macosx/refinements/images/services_menu_20090902.jpg Windows menu example http://www.flamingpear.com/images/psp8menu.gif In the example you see, the differences in the...

Eclipse RCP: Generating views from form values

I want to build a user interface similar to the sketch below: When the user fills out the form on the right and clicks the 'Plot!' button, a new closeable tab opens on the left with a chart. I am new to RCP and have been following this tutorial. I am able to bring up tabs with charts triggered from a menu item. How do I go about: c...

Printing with an Eclipse RCP program

Hi, I am looking for a good, standard way to generate "output" in my RCP programm and print it. This should work as it works on Windows, Mac OS and Linux with the standard print dialog. I am aware of the Birt project, but I could not find any hints about how to implement it within a RCP programm and how to invoke the standard print dia...

Eclipselink factory.createEntityManager() stalls with more than one instance running

Hi, with my RCP program I have the problem that I want to have more than one copy running on my PC. The first instance runs very good. If I start the second instance, everything is fine until I want to access the database. Using this code: .. Map properties = new HashMap(); properties.put("javax.persistence.jdbc.driver...