Dashboard > Spring Rich Client Project (Spring Rich) > User Documentation > Component Integration
  Spring Rich Client Project (Spring Rich) Log In View a printable version of the current page.  
  Component Integration
Added by Peter De Bruycker, last edited by Larry Streepy on Aug 24, 2005  (view change)
Labels: 
(None)

Component Integration

Spring Rich is not about components. There are lots of component providers out there. We encourage the integration of existing components, instead of re-inventing the wheel.

User Contributed Components

However, in the spirit of sharing and since not all components have already been written (or made available as open source), I'd like to use this section for members of the Spring Rich Community to post useful controls. I'll start it off by posting the first control.

ShuttleList

Provided by Larry Streepy

A ShuttleList is a pair of list boxes, one called the source and the other called chosen. There are buttons between the lists to move items from one to the other. I know that this has been implemented numerous times, but I actually couldn't find any code online, and the interesting thing with this implementation is that it provides and Binder and Binding so that it can fit into the RCP framework. The implementation is a little unique in that it really behaves like a different UI implementation for a single list. (I didn't actually do that since I don't know much about creating alternate UI implementations). The ShuttleList presents a typical selection model that represents the "chosen" elements. It can be used identically to the BoundList implementation that is part of RCP. The code is moderately commented, so I hope others can make use of it.

I have not changed the package names from my own project, but maybe someone has a suggestion as to a standard package to use for spring components. The file to get is shuttleListComponents.zip.

Site running on a free Atlassian Confluence Open Source Project License granted to Spring Framework. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators