rcp

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? ...

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! ...

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...

How Netbeans Editors know that file is not modified after undo?

Netbeans uses standard UndoManager API for implementation of undo functionality. But neither standard javax.swing.undo.UndoManager nor org.openide.awt.UndoRedo.Manager doesn't have any method to mark states as saved and check modified status. Nonetheless if you change the file and press undo, the file is marked as unmodified. How do they...

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 ...

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...

Eclipselink read complex object model in an ordered way

Hi, I need to read a complex model in an ordered way with eclipselink. The order is mandantory because it is a huge database and I want to have an output of a small portion of the database in a jface tableview. Trying to reorder it in the loading/quering thread takes too long and ordering it in the LabelProvider blocks the UI thread too...

RCP update site for multiple platforms

I've got an RCP application built for several platforms. The target with delta pack is set OK, Product Export Wizard works OK, PDE ant build works OK. But the Update Site project creates the updates only for the single platform - the one I use for development actually (win32). I expect the update site to include all the dependencies from...

Eclipse plugin development for Eclipse

Hi, how do I start to develop a plugin for Eclipse? I need a tool which isn't out there yet for my further development... so my main concerns are: -How to add a perspective? -How to add menu items? -How to add a view into the "Show Views" menu? -How to add to the preference pane? -How do I get information, like * where is the work...

What is the difference between plug-in, feature and product in eclipse rcp

What are the difference, what get's used for which purpose? ...

Removing a view from Eclipse Window -> Show views

We have an application in which some views only work when attached to certain perspectives. We want to remove those views from the Window -> Show View dialog so that users cannot add them to perspectives where they don't work. Any ideas on how to do this either programmatically or declaratively? I have tried using <visibleWhen />, but...

Stacking a View with the Editor Area?

Hello everybody, :-) Is it possible, when developing an Eclipse RCP Application, to stack a view with the editor area? Like this? http://www.fotos-hochladen.net/stackingaviewwithane9e1fdbvp.png I have multiple lists / tables. I want to create a kind of preview composite. When an Item on a list is selected by single mouse click, i wan...

Close an eclipse RCP application when workbench is not ready yet?

How do I close an eclipse RCP application on startup, i.e. when the workbench is not yet available? Usually I would use PlatformUI.getWorkbench().close(); but this does not work on startup. I am doing some checks on startup in one of my plugins Activator classes and I would like to close the application in case the checks fail. ...

Creating a scm browser for an RCP application.

I have an RCP app that saves its project as an xml file and currently the user just selections a directory to save that file and then uses the open file dialog to open the project. We are thinking about enhancing it to allow users to check in/out from a source code manager. This will make it easier for users to share their projects with ...

What are some RCP Deployment Options?

We have an RCP application and we are looking for a better way to do installation/updates. Currently to install, they just unzip a zip file. The zip file also contains scripts in it that are not java code. We were running into some bugs when updating if they don't first delete the old folder that was previous unzipped. The issue with d...

Eclipse RCP standalone export problem with Groovy scripts

I am trying to export a standalone RCP app using Eclipse 3.5.2. The app has a main pure Java plug-in, and a Java / Groovy plug-in that is used by the main plug-in. When I export the main RCP plug-in using the "Export Wizard", I get compiler errors saying that the Groovy classes cannot be found, e.g ERROR in C:\mysrc\src\ch\calcs\provi...

Splashscreen ProgressBar in Eclipse RCP has "dirty" corners

Hi there, I am using the RCP Splash Screen along with the built-in ProgressBar (AbsolutePositionProgressMonitorPart). The splash image has a blue background color, but the background of the progressbar seems to be white, which leads to some white corners. There is no "setBackground" on BasicSplashHandler nor does getContent().setBack...