rcp

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

The bundle could not be resolved in RCP-RAP application

Hi, I have a RCP application which constitutes of a number of plugins. And now, I try to develop RAP application which uses my old plugins. My RAP has a dependency of one old plugin. I created my own target platform and I added RAP sdk and other many eclipse platform libraries. When I run my RAP application, I get this exception. Do yo...

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

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

Eclipse RCP: Determine mouse button that caused selection on SelectionChanged Event.

I have a class that implements ISelectionListener. I want to determine when the user right clicked when the selection was made. This is the method that I need to implement to handle selection changes: public void selectionChanged(IWorkbenchPart part, ISelection selection) { //HOW? // if right clicked... do something // else .. do defa...

Invalid behaviour when using setPartName to change the View name displayed in an Eclipse-RCP applicaiton?

I am developing an RCP application based on Eclipse and use i18n to load message resources. My requirement is that I need to change the View title based on locale/i18n. I am using setPartName to do that. It does change it, but the issue is that it shows the title-changes only after the view has been clicked. So, in a way, it first disp...

Custom CompareEditor with multiple panes

Eclipse's CompareEditor looks beautiful and has a great functionality. But, I'm cannot find a simple way to create a custom CompareEditor with multiple panes? For example: class MultiCompareEditor extends CompareEditor { MultiCompareEditor (Object... InputElement) { } } After that I'd like to see CompareEditor with number o...

(Eclipse RCP) How can I get the reference of Editor in command handler

Hi all, I'd like the get the text of editor in a command handler, so how can I get the reference of Editor, thanks ...

setFocus() always false...

I'm working on a Eclipse RCP Application. In a class which extends MultiPageEditorPart, i'm trying to set the focus to a text field. But the setFocus Method always returns false. What am i doing wrong? The MultiPageEditor has various pages and inside these pages, there are Composite - classes. These classes contain the text field. H...

RIA platform like Netbeans RCP

Does anyone have any experience with a really good RIA platform. I'm going to begin developing an application, and I intend to use Netbeans RCP for the thick client. I'd also like to create a RIA version of the same app. I've looked around for a RIA framework that rivals what you can get with the Netbeans RCP, and really haven't found...

Adding Help Contents, Search Help using Command Framework

My colleagues and I are building a new RCP application and trying to find our footing in RCP. My coworker managed to get the Eclipse Help framework working pretty quickly - but he used the old style Actions and ActionBarAdvisor.makeActions() to do it. All of the RCP Menu creation tutorials I've read (the ones that were written post Ecl...

Eclipse RCP - Editor in Perspective

How would I go about inserting an editor inside of a perspective? ...

Eclipse RCP - Launch editor from file menu

What would be the best approach to launch an editor from the file menu(File>New). Should I encase the editor inside a view and launch the view from a command? ...

Eclipse 3.5: Implementing my own context menu for a MultipageEditorPart --> no viewer involved

Hello! :-) In my current RCP-project i use a MultipageEditorPart. It has various pages, with simple SWT composites on it. The composites contain some Text and Combo elements. When the user right clicks onto the editor page, I want a context menu to open. This menu holds a command for creating a new editor page, with a composite on it. ...

Confused about IAdaptable with IActionFilters

I'm confuse about IAdaptable and related classes. Which class is the adapter, the adaptee, the adaptable type? [Context] I have a context menu for entries of a table/tree viewer. Certain actions in the context menu must not be visible depending on the state of the respective object in the viewer (i.e. attribute value of a row in the ta...

nested Composite in MultipageEditorpart doesn't react on mouse listener...

Hi! :-) I have an RCP - Projekt where i add some swt composites to a MultipageEditorpart as pages. I added a mouseListener to the Compositeclass, but when i click on the Editor... nothing happens. What am i doing wrong? ...

Re-aligning text in Eclipse Draw2D Label

I am building an RCP-based application with Draw2D Labels (Figures with text). When my graphical editor re-sizes the label, the text stays in it's initial position. Is there anyway to have the text reposition based on the new constraints of the label? ...

SWT "slim look" buttons and scrollbars

Eclipse 3.5 (on the Mac, at least) now has a slimmer look to its buttons and scroll bars, whereas previous versions' buttons and scroll bars used the larger, "puffier" look. I would like to adopt this same look in my RCP app, but I can't find in the SWT or JFace APIs anywhere how to force the widgets to use this slimmer look. How is th...

IAdapterFactory for expensive adaptable?

In our RCP application we have views which require a C, and use an IAdapterFactory to get there from an A and B. The problem is that while A->C is fast, B->C is much slower (e.g., a database or file-system look-up) and should be done in a UI job. We thought about using a CProxy or LightweightC and asking the proxy or a service for the ...

The type org.eclipse.core.runtime.IConfigurationElement cannot be resolved.

When building my Eclipse RCP Application, I get the following error. The type org.eclipse.core.runtime.IConfigurationElement cannot be resolved. It is indirectly referenced from required .class files. I have included the org.eclipse.core.runtime library in my dependencies, so I am not sure what the problem is. ...