rcp Tag

Have you ever come across an issue while developing an Eclipse-based application, go to export it and get an evil "Invalid character constant" message or something similar in your logs? This happens when you're developing an application that requires Unicode characters but your system file encoding is something other than you expect (i.e., on Macs it's usually MacRoman and on Windows it's Cp1252). When you...

Read More

If you want to make a custom look&feel for an RCP or RAP application you have no choice other than to write a new Presentation. But if you've already worked with the Presentation API, I would bet that you're not too happy with it. The only option the API gives you is to make StackPresentations, but what about other components like the ToolBar or MenuBar? There...

Read More

Ever wanted to add spelling checking to a dialog, form or some editor in your Eclipse-based application? Well, I needed to do this recently for a project and thought I would share with people how it can be done (also, I had people emailing me to write more tips ;p). The spell checking infrastructure in Eclipse is handled by the text editor framework. Specifically, there's an...

Read More

I was helping a colleague today with a key binding issue that I think is fairly common. To illustrate the problem, let's look at what happens when you press CMD+N in the RCP mail sample: What!? New Project Wizard? That's not what I wanted! In this case, I actually wanted a 'New Message' to pop up instead of that new wizard. I don't want any of...

Read More