eclipse ui Tag

The Riena committers have just done it again: Riena 1.2.0.M2 is now out the door (download). Here's the New & Noteworthy and the issues fixed in this milestone. Read on for my personal favorites: New ridgets: ILinkRidget, IBrowserRidget, ITraverseRidget (for SWT's Slider, Scale and Spinner widgets). Thanks to Florian from Redview for these contributions (snippets) IComboRidget now supports  CCombo: the CCombo widget works much better with our marker...

Read More

The Fellowship of Riena just released 1.2.0.M1. (download). We committers have fixed 40+ issues and added a couple of new features. Below are my personal favorites. Improved support for message markers. Multiple validation rules and validation messages are now shown correctly (snippet): The new IListRidget simplifies binding to  lists of elements with one column. This is a bit simpler than using a ITableRidget (snippet). Easier listening for selection changes...

Read More

Starting out with Eclipse Riena?  I hope you find my one-picture-summary of the Riena UI and navigation useful: Conceptually the window is divided into the navigation tree on the left - showing a navigation model - and the work area on the right - showing the view that is currently active. Other window areas are the menu bar, the coolbar and the status bar. The navigation tree shows the...

Read More

When adding keybindings to an existing Eclipse RCP application, it is extremelly helpful to get realtime information about which keybinding registered and to what command handlers it is mapped to. Why is that?  Because sometimes the operating system or another widget will consume the keyboard event before it gets to the command framework. Other times there are several handlers bound to the same key causing a...

Read More

If you are at JavaOne, drop by the Eclipse Foundation (Mo 5-7pm, Tu 11:30-1-30) or EclipseSource booths (all week) for a demo of the Rich Ajax Platform (RAP). In my demos, I'll focus on the CSS customizations and enhanced theming capabilities that ship with the new with RAP 1.2 release (Galileo). Here's a screenshot showing a 'RAP Addressbook' application: It is inspired by Kai's recent work on the...

Read More

Ever wanted to get a print out of all components that make up a piece of UI? This little recursive snippet does that for you. [code lang="java"] private void printChildren(Composite composite, int count) { StringBuilder spaces = new StringBuilder(count * 2); for (int i = 0; i < count * 2; i++) { spaces.append(' '); } for (Control c : composite.getChildren())...

Read More

As a Riena committer, it's always nice to see people taking interest in Riena. Feedback  at EclipseCon has been very positive. I was also impressed by  RedView - a UI-generator based on EMF and Riena, which is becoming available soon. Now James Sugrue wrote "Riena - A New Adventure in Eclipse" over on DZone. The article introduces Riena, walks you through installation, shows how to create and theme an application...

Read More

For simple RCP Applications the Perspective-Switcher widget that ships with Eclipse is overloaded and cumbersome to use. We are going to get rid of it and replace it with an equivalent menu and/or toolbar for switching perspectives. Both should have an indicator to show which perspective is currently active. Hiding the Perspective-Switcher To hide the Perspective-Switcher we go to our ApplicationWorkbenchWindowAdvisor and instruct the IWorkbenchWindowConfigurer to not show...

Read More

Riena 3.5.M6 is available, just in time for EclipseCon (new and noteworthy).  The Riena highlights at the conference next week: Come to the Riena BOF on Tuesday to discuss the project with the team. As one of the committers behind the UI (Ridgets), I'm looking forward to feedback from developers who consume it or are thinking about using it. If you're new to Riena I highly recommend Christian's talk  'Write...

Read More