diff dwtx/core/commands/contexts/ContextManagerEvent.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 6518c18a01f7
children
line wrap: on
line diff
--- a/dwtx/core/commands/contexts/ContextManagerEvent.d	Sun Aug 03 17:01:51 2008 +0200
+++ b/dwtx/core/commands/contexts/ContextManagerEvent.d	Thu Aug 07 15:01:33 2008 +0200
@@ -11,12 +11,12 @@
  *     Frank Benoit <benoit@tionex.de>
  *******************************************************************************/
 module dwtx.core.commands.contexts.ContextManagerEvent;
-import tango.util.collection.model.Set;
 
 import dwtx.core.commands.contexts.ContextManager;
 import dwtx.core.commands.common.AbstractBitSetEvent;
 
 import dwt.dwthelper.utils;
+import dwtx.dwtxhelper.Collection;
 
 /**
  * <p>
@@ -55,7 +55,7 @@
      * change occurred. If the active contexts did not changed, then this value
      * is <code>null</code>.
      */
-    private const Set!(String) previouslyActiveContextIds;
+    private const Set previouslyActiveContextIds;
 
     /**
      * Creates a new instance of this class.
@@ -82,7 +82,7 @@
     public this(ContextManager contextManager,
             String contextId, bool contextIdAdded,
             bool activeContextsChanged,
-            Set!(String) previouslyActiveContextIds) {
+            Set previouslyActiveContextIds) {
         if (contextManager is null) {
             throw new NullPointerException();
         }
@@ -131,7 +131,7 @@
      *         guaranteed to not be <code>null</code> if
      *         haveActiveContextsChanged() is <code>true</code>.
      */
-    public final Set!(String) getPreviouslyActiveContextIds() {
+    public final Set getPreviouslyActiveContextIds() {
         return previouslyActiveContextIds;
     }