• Post Reply Bookmark Topic Watch Topic
  • New Topic

why don't we have a DualList ?

 
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: 20817
68
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: 20817
68
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!