eclipse-rcp

How to separate the model from the view?

I have a bunch of model objects. These objects end up being rendered as views (say forms) in a rich client app. I started to annotate the fields in the model objects (Java annotations) with things that let me render them as forms on the fly (e.g displayname, group, page, validvalues). I now realise that the view has crept into the mod...

can my eclipse rcp and plugins be used by other parties?

Hi all, If I develop my application using eclipse RCP and my own eclipse plugins, can other people copy and paste my plugins and used in other application? thanks ...

Workbench application development using Eclipse RCP :: How rich can it get?

Like the subject reads: How much good-looking UIs can be built using Eclipse RCP? Can they be built to look as good as the app screen below? Or, lets just define good being: support for rounded borders, gradient backgrounds, rich text, true type fonts and all those stuff that applies to modern rich UI look and feels. ...

How to add delete command for GEF in coolbar

I need to define the toolbar delete command over plugin.xml for the perspective. I'm using the following code and for undo, redo, zoom in, zoom out works. Only for the delete command won't work. Where do i wrong? <command commandId="org.eclipse.ui.edit.redo" icon="icons/arrow_redo.png" ...

How to combine Eclipse Databinding and UndoableOperations?

Hello... in my RCP - Project i'm using eclipse databinding to connect the ui with the backend. I want every change in an open editor to be undoable. My Domainmodell and UI are seperated in two different plugins. My current approach is to implement my own UpdateValueStrategy class for the databinding. I extend the normal UpdateValueSt...

How to refresh the properties view in Eclipse RCP?

I am using the properties view in RCP, i.e org.eclipse.ui.views.properties.PropertySheet. I want to be able to refresh the content of these properties programmatically. It seems RCP is geared towards the use case where this changes only when a selection changes. Is there any way I can fire a dummy event to get this to refresh (without ...

Looking for an RTF editor to use in an Eclipse RCP application

I am making an Eclipse RCP Application in which I would like to include the possibility of editing RTF files. It would be a plus to be able to easily handle annotations. I have already looked at org.eclipse.epf.richtext and it doesn't really fit the requirements. If anyone has any suggestions I would appreciate it. ...

Need help to begin with Eclipse RCP

Hey guys. I am just a beginner in eclipse rcp I'm feeling it hard to understand the concepts. Infact I struggling to create a button, somebody pls give a good suggestion as to how to start with rcp. ...

how to draw directed edges with "IGraphContentProvider"?

Hi, I am using ZEST and RCP to build a graph visalization tool. I used "IGraphContentProvider" and the "LabelProvider" for drawing the grpah. My question is: how can I draw a directed edge between two nodes using IGraphContentProvider? Thanks in advance -syeed ...

where am I find the Listeners for view detach/attach

I want to know how to detecte the listener when I do click in the "Detached option" of the menu popup of a view eclipse rcp. ...

Eclipse/RCP (SWT) vs Qt Creator (Qt) as a framework for plug-in development?

I have known many good applications (including UG Team Center, IBM Lotus Expeditor etc.,) developed over Eclipse (RCP Framework). Of late, i find some application developed over Qt Creator exploiting its plug-in architecture (GCF, VTK designer etc.,). I wish to know the pros and cons of Eclipse and Qt Creator as base framework for deve...

How can my Eclipse RCP code list all installed features?

I am writing a plugin for Bioclipse, an Eclipse RCP application, and need some Java source code to list all installed features in a running Bioclipse instance. How can I programmatically list all installed features? ...

RCP based on plugins or features ??

Hi all, I have an RCP application based on plugins because I started this app from a simple Mail example. I am now wondering what is the difference between an RCP application based on features compare to one based on plugins ? For information, my RCP will maybe require some advanced features such as headless build, or self update. Ma...

Plugin product VS Feature product

Hi all, In the context of an RCP application I am wondering if I should base my product on plugins or on features. The main difference I can see for now is about the content of the exported application. Using plugins as product base result in an exported (with GUi or headless build, it's the same) with ALL the required plugins (comput...

OSGi service trackers not always working

Hey guys. We're using OSGi services in an Eclipse RCP application. To track them, we're using the org.osgi.util.tracker.ServiceTracker class. A sample code from the application looks like mailServiceTracker = new ServiceTracker(context, MailService.class.getName(), null); mailServiceTracker.open(); MailService service = (MailService) ma...

Eclipse RCP Dialog: Large Text box won't scroll - instead creates a huge dialog window!

Hi All, I've been banging away at this for a while now and I can't seem to get anywhere. I've tried all of the examples I can find online and nothing seems to work! I haven't been able to find much on this problem which leads me to think I'm missing something basic. . . In my Eclipse RCP program I want to display a dialog that will sho...

RCP opening monitor

Hi all, I just completed the export of my RCP application for Windows and I noticed some strange behavior when testing the app on computer with 2 monitors. The first time the application is launched, the splash screen and the main apllication windows are displayed on the primary monitor => it's ok !!! Then I move my application on the...

MenuContribution to Editor toolbar?

Hello! In my recent project, i contributed various commands to viewpart toolbars: Example: I want to do this for editors also. Is this possible and if it is, could some please point me in the right direction, on how this can be achieved? Thanks! :-) Patrick ...

stealing the focus from a view in an eclipse rcp app

I'm working on an Eclipse RCP app and I want to steal the focus from an embedded editor (which is just a fancy text field, actually) within a view, when starting an action from the same view's toolbar. That action works with a command. This editor/textfield loses the focus automatically, when the view itself loses the focus. So how do I ...

Adding eclipse UI form to a AbstractDecoratedTextEditor

I am trying to add a form in the lower half of text area in AbstractDecoratedTextEditor but the form shows up in the right half of the editor by default. Is there a way to have the form displayed in the lower half of the editor without writing a text editor from scratch and adding the text area and form in a grid layout ? This is the cla...