This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

why don't we have a DualList ?  RSS feed

 
sam mac
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it was hard to implement DualList using two jface listviewers. Do we have any such ready widget (duallist) which is freely available ?
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never had problems implementing it in Swing. I even was able to add "Add all", "Remove all" and "Swap elements" buttons without much effort. I can't imagine that it would be so much harder in JFace.

For those that don't know what a DualList is (I had to look it up as well): http://www.metabuilders.com/Tools/DualList.aspx has an example.
 
sam mac
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
making it generic so that for any items is the difficult part. setting model and all the validations which goes into both list viewers is not that straight forward.
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What type of validation are we talking about?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!