Mercurial > projects > dwt-addons
diff dwtx/jface/wizard/WizardSelectionPage.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 | ea8ff534f622 |
children |
line wrap: on
line diff
--- a/dwtx/jface/wizard/WizardSelectionPage.d Sun Aug 03 17:01:51 2008 +0200 +++ b/dwtx/jface/wizard/WizardSelectionPage.d Thu Aug 07 15:01:33 2008 +0200 @@ -17,9 +17,9 @@ import dwtx.jface.wizard.WizardPage; import dwtx.jface.wizard.IWizardNode; -import tango.util.collection.ArraySeq; import dwt.dwthelper.utils; +import dwtx.dwtxhelper.Collection; /** * An abstract implementation of a wizard page that manages a @@ -44,7 +44,7 @@ * List of wizard nodes that have cropped up in the past * (element type: <code>IWizardNode</code>). */ - private ArraySeq!(Object) selectedWizardNodes; + private List selectedWizardNodes; /** * Creates a new wizard selection page with the given name, and @@ -54,7 +54,7 @@ */ protected this(String pageName) { super(pageName); - selectedWizardNodes = new ArraySeq!(Object); + selectedWizardNodes = new ArrayList(); // Cannot finish from this page setPageComplete(false); } @@ -74,7 +74,7 @@ return; } - selectedWizardNodes.append(cast(Object)node); + selectedWizardNodes.add(cast(Object)node); } /**