Mercurial > projects > dwt-addons
diff dwtx/jface/viewers/ListViewer.d @ 104:04b47443bb01
Reworked the collection uses to make use of a wrapper collection that is compatible to the Java Collections.
These new wrappers now use the tango.util.containers instead of the tango.util.collections.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 07 Aug 2008 15:01:33 +0200 |
parents | 7ffeace6c47f |
children |
line wrap: on
line diff
--- a/dwtx/jface/viewers/ListViewer.d Sun Aug 03 17:01:51 2008 +0200 +++ b/dwtx/jface/viewers/ListViewer.d Thu Aug 07 15:01:33 2008 +0200 @@ -17,7 +17,6 @@ import dwtx.jface.viewers.AbstractListViewer; -import tango.util.collection.model.SeqView; import dwt.DWT; import dwt.graphics.Rectangle; @@ -27,6 +26,7 @@ import dwtx.core.runtime.Assert; import dwt.dwthelper.utils; +import dwtx.dwtxhelper.Collection; /** * A concrete viewer based on an DWT <code>List</code> control. @@ -220,7 +220,7 @@ /* (non-Javadoc) * @see dwtx.jface.viewers.AbstractListViewer#setSelectionToWidget(java.util.List, bool) */ - protected override void setSelectionToWidget(SeqView!(Object) in_, bool reveal) { + protected override void setSelectionToWidget(List in_, bool reveal) { if( reveal ) { super.setSelectionToWidget(in_, reveal); } else {