eclipse-rcp

Using Hibernate with Dynamic Eclipse Plug-ins

I have classes that are named exactly the same across different plug-ins that I use for my application, and I'd like to be able to configure them properly with Hibernate. The problem is that it looks like Hibernate dynamically generates a class' package name when trying to find a class when it's doing its mapping. With one plug-in this s...

What is the best way to serialize an EMF model instance?

I have an Eclipse RCP application with an instance of an EMF model populated in memory. What is the best way to store that model for external systems to access? Access may occur during and after run time. Reads and writes of the model are pretty balanced and can occur several times a second. I think a database populated using Hiberna...

Eclipse RCP - Internals of projection (folding) service

I need to make custom text folding as described here: http://stackoverflow.com/questions/1017375/can-i-merge-syntax-coloring-and-folding-or-projection-colored-from-master-docume I'm digging through code, but its very perplexed... and I cant get access to some classes. I still haven't found what class decides what to show when ProjectionA...

Can Spring and SWT work together for Java Desktop Applications?

Hi, I am going to design Java Desktop Application. While I was design web application, I got plenty of choice, e.g. Spring, Strut etc. However, for Java Desktop (which is new to me), I don't find any. Is that Eclipse RCP a Java Desktop Framework, which works like Spring mvc in Web apps? I wonder, can I use Spring to enjoy the benefit o...

How do I remove icons from menu items in an Eclipse RCP-based application?

I am working on an Eclipse RCP-based application, and we have decided that we do not want any of the menu items to display icons next to the text. The problem we are seeing is that the standard actions like Undo, Redo, Cut, Copy, Paste, and so on all display the default icons for the corresponding actions. Is there any way to tell the ...

Eclipse RCP: How to OpenPreferencesAction on particular page?

How do I make preferences dialog to open up on a particular page? Doing this opens pref. dialog on the first page by default : OpenPreferencesAction action = new OpenPreferencesAction(); action.run(); How can I tell it to display some other page from preferences tree? ...

Eclipse RCP-based appilication's GUI: interactive design or coding?

Hello. First of all, for the sake of clarity: the question is addressed to those who have experience with ERCP, for those who make, say, business applications. The question is not about a general approach to GUI creation. I am considering the Eclipse RCP as a platform for desktop applications. I am at the very start (I mean with ERCP),...

Adding work to a Job's progress monitor in Eclipse

I have a job (class which extends org.eclipse.core.runtime.jobs.Job) running inside Eclipse. The job gets an IProgressMonitor and I'm using it to report progress, that's all good. Here's my problem: during the processing, I sometimes find out that there's more work than I anticipated. Sometimes even double. However, once I set the total...

Force Look/Feel in SWT

Hopefully no one has asked this question - didn't see it, but I apologize if it's a duplicate. Anyway, I'm building some plug-ins with Eclipse RCP and am using SWT for my UI. I have a Composite that contains some panels and other items - anyway, I've noticed a bit of a difference in the appearance of the UI depending on how my OS is se...

Eclipse RCP: How to make default SAVE button visible in an editor?

Hi, I think there are default SAVE and CANCEL buttons associated with editors in Eclipse RCP. How do we make these buttons appear on an editor. I take it that these buttons are invisible by default and may be there is some superclass method that needs to be overridden to make the SAVE CANCEL buttons appear on editor. I remember of havi...

JBoss / Eclipse RCP Integration

I've run into a problem with RCP and JBoss. I'm attempting to seperate the JBoss client libraries (i.e. the .jar files in the 'client' directory of the jboss distribution) from the ejbmodule. The dependency hierarchy goes: company.client (ejbmodule containing ServiceRemote bean) org.jboss.client (jboss client libraries) The probl...

TreeViewer#update(Object element, String[] properties); what do properties refer to?

Hello, I have been wondering about the parameter 'properties' in the method TreeViewer#update(Object element, String[] properties). What are they? What do they refer to? I am not sure what goes into the String[] - are there predefined constants to use? Or are these the names of my column headers? Something else? I couldn't find any e...

How can I show the windows file explorer in the RCP application?

I would like to create a Eclipse RCP application, in which I need to show the Windows file Explorer in the View. Can anyone help in this? ...

reference non plugin project to eclipse plugin project

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

[JavaFx//Eclipse RCP] Good idea / Bad idea (/other ideas ?)

Hello all, I have recently been asked to make an Eclipse Rcp view that would be "pretty". In that purpose I had fist looked at Java2D (after my boss advised me so) before the client's query turned to be more like "It would be smooth if you could do some flash or something ..." From there JavaFx seemed appealing to me however I never h...

How to find orphan plugins in eclipse RCPs ?

Update sites with RCPs prohibits orphan plugins, otherwise plugins that are not in a feature. If this condition is not filled, the update manager returns the following error: Resulting configuration does not contain the platform. Unfortunately, no way to determine which plugins are orphan. How to find orphan plugins ? ...

Change Menu Items Programmatically From Eclipse Plugin

I would like to be able to completely remove menu items upon startup of my eclipse plugin application. What I want to do is be able to add these menu items later depending on business logic based off of the user's actions. Is there a way to do this? I've looked at using contributions, but I feel like it's not going to be exactly what I w...

Eclipse RAP - Firefox doesn't forget session

We've got an Eclipse RAP application that's behaving a bit strangely in Firefox - two distinct problems. When you browse around, you can click on a button in one part of the system. This opens a popup window like so: IWorkbenchBrowserSupport bs; bs = PlatformUI.getWorkbench().getBrowserSupport(); int style = IWorkbenchBrowserSupport.AS...

How to get the project name in eclipse?

How do I get the name of the current eclipse project? I'm in a GMF view and need the projectname when some submenu of the popup menu ist used. ...

how to open the find type dialog programmatically in eclipse

Hi, I want to open the "Ctrl-Shift-T" dialog (find a type) programmatically in eclipse plug-in. I tried the FilteredItemsSelectionDialog and ResourceListSelectionDialog, but how do I get all the types in the workspace? Thank you, Ido. ...