rcp

Eclipse RCP: Actions VS Commands

Hi, What are differences between Actions and Commands in the context of Eclipse RCP? I know that they both contribute to the menu entries, but which one is better? And why? Of all the online resources I read, I could not get a firm understanding of the differences between both. I have not actually tried to use them, but just wanted ...

Eclipse RCP: Making use of configuration directory

Hello, My Eclipse RCP application requires a configuration file that contains some information to connect to a remote database. Where is the best location to store this configuration file? Can I use the default configuration directory (where 'config.ini' is usually stored) for this purpose? If so, how can I get a File instance to thi...

Which Rich Client Platform to use

Hi all, We recently started to develop a Java desktop app and management has requested that we make use of Rich Client Platform. I know of three for Java namely: Eclipse RCP - www link to ecipse rcp, Netbean RCP - Netbeans RCP web site, Spring RCP - spring rich client Has anyone got any experience in any of these and if so what are ...

How to get the selected node in the package explorer from an Eclipse plugin

I'm writing an Eclipse command plugin and want to retrieve the currently selected node in the package explorer view. I want to be able to get the absolute filepath, where the selected node resides on the filesystem (i.e. c:\eclipse\test.html), from the returned result. How do I do this ? ...

Rich Client: Can anyone recommend a replication framework/patterns/tutorials?

Can anyone recommend a replication framework for client-side caching for rich clients - especially the eclipse RCP? Alternatively, tutorials or other reading. I'm currently researching for a project which calls for a rich client to go along side an existing web browser application. The rich client is mainly for more comfortable manipula...

Running several instances of Netbeans RCP application simultaneously

Hello We have an application based on the netbeans rich client platform. Default behaviour is that only one instance of the software can run, and this can be overridden by specifying a different user-dir as argument when starting the application. Are there any alternatives to this? Our clients rely on being able to run several instan...

Eclipse RCP case study, please help to solve!

I am interested to learn about Eclipse RCP, I have got some basic knowledge, but I wanted to know more what it is capable of. So I encouraged my self to create a set of requirements, analyze them, and come up with design decisions about how they can be met using Eclipse RCP as the base framework, and eventually implement them with Eclip...

How to obfuscate an OSGi bundle with ProGuard?

Hi all! I am currently trying to obfuscate my Eclipse RCP application with ProGuard. The problem is that it obfuscates the package names (the class My.Package.Class turns into something like a.b.c), but keeps the package names in the Export-Package section of MANIFEST.MF. This leads to the fact that my application (which is a set of OSG...

Eclipse RCP on OSX - How to stop logging to syslog?

Our RCP application logs a fair bit, but only INFO and above are output to console. On windows/linux this is ok, but on OSX all logging seems to be passed to syslogd, which then decides what to log and not log, this means handling thousands and thousands of FINEST log messages, this makes syslogd use 140% cpu and gobble up memory. After...

plugin.properties mechanism in eclipse RCP

My project includes multiple plugins and every plugin includes the plugin.properties file with near to 20 translations. The MANIFEST.MF file defines the name of the properties files where the external plugin strings are stored. Bundle-Localization: plugin The name of the plugin i define like %plugin.name Eclipse will search the "%p...

Where is localization done in the Eclipse code?

I have a contributed view in an Eclipse RCP application. This view has a localized name %view.name, with the translation on a plugin.properties file to "My View Part". I am looking into the source code of Eclipse to understand how the internationalization works. So far, I haven't been able to find at what point the value from the prop...

Eclipse RCP application - multi-window design for multiple monitors

Question about Eclipse RCP and whole perspective/view/editor design - what is the best way to create application which will display multiple windows on multiple monitors? Tutorials and book I've seen always pack RCP/SWT design into views inside perspective within single application window. Should one window rule all others or they all s...

RIA vs. RCP

I'm on a project where we try to build a GUI replacement for an old application. Before we really implement the functionality we've started prototyping with Eclipse RCP (Rich Client Platform) and GWT (Google widget toolkit, a Rich Internet Application). What is your experience with RIA and RCP GUIs? When does it make sense to use RIA and...

a standalone eclipse view on the right side

This question is similar to How to write a Vertical Right-Side IE Explorer Bar I have a Eclipse RCP application consisting of various views only. How do you layout a view that stays on the right side? I have tried using perspectiveExtension placing it relative to org.eclipse.ui.editorss and didnt managed to get it to work. ...

Memory leak in Eclipse RCP applications

How can the memory leak in Eclipse RCP applications detected? ...

Success stories of Eclipse as an application framework (RCP)

I keep reading about Eclipse as an application framework (i.e. about Eclipse Rich Client Platform). I am unable to find comprehensive list of success stories of Eclipse as an application framework (RCP) other than Eclipse as an IDE which is extremely popular. I have seen customer testimonials of Netbeans platform, but not for Eclipse Ric...

Eclipse RCP application - Create a window programatically

Hi, In an RCP application, how I can programtically define and open a new window? I want to open several window - each window show different data. How can I set different input for each window? I want to simulate the same functionality of Eclipse IDE (Window --> New Window), but I want each new opened window to have different input. I...

Eclipse RCP: how to observe the states of the cut/copy/paste commands?

I'm currently struggling with the following Eclipse RCP commands: org.eclipse.ui.edit.cut org.eclipse.ui.edit.copy org.eclipse.ui.edit.paste I'm using them as command contributions in the toolbar, but the UIElements (toolbar items) are not updated when the 'handled' state of those commands changes. For testing I used a polling mecha...

Eclipse RCP Image Application: How Do I Lay Out My Images?

Hi, I have an Eclipse plugin that displays a view. What I want to do is display n images in the view in a single row with a centered label under each image. I want to view to be scrollable. I also want each image to be re-sized when the dimensions of the view (ScrolledComposite? Composite?) change so it utilizes the available vertica...

Assimilate existing apps?

Hey Folks, I read all lot about rich client platforms and the OSGi framework, but stuck with this question: Is it possible to assimilate existing applications (either java-based or win32-based) in one application window? I aim at connecting different kinds of (existing) application in one application (with Eclipse RCP) to offer the gen...