comparison dwtx/jface/resource/ResourceRegistry.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 8a302fdb4140
children
comparison
equal deleted inserted replaced
103:2d6540440fe6 104:04b47443bb01
10 * Port to the D programming language: 10 * Port to the D programming language:
11 * Frank Benoit <benoit@tionex.de> 11 * Frank Benoit <benoit@tionex.de>
12 *******************************************************************************/ 12 *******************************************************************************/
13 module dwtx.jface.resource.ResourceRegistry; 13 module dwtx.jface.resource.ResourceRegistry;
14 14
15 import tango.util.collection.model.SetView;
16 15
17 import dwtx.core.commands.common.EventManager; 16 import dwtx.core.commands.common.EventManager;
18 import dwtx.jface.util.IPropertyChangeListener; 17 import dwtx.jface.util.IPropertyChangeListener;
19 import dwtx.jface.util.PropertyChangeEvent; 18 import dwtx.jface.util.PropertyChangeEvent;
20 19
21 import dwt.dwthelper.utils; 20 import dwt.dwthelper.utils;
21 import dwtx.dwtxhelper.Collection;
22 22
23 /** 23 /**
24 * Abstract base class for various JFace registries. 24 * Abstract base class for various JFace registries.
25 * 25 *
26 * @since 3.0 26 * @since 3.0
43 43
44 /** 44 /**
45 * @return the set of keys this manager knows about. This collection 45 * @return the set of keys this manager knows about. This collection
46 * should be immutable. 46 * should be immutable.
47 */ 47 */
48 public abstract SetView!(String) getKeySet(); 48 public abstract Set getKeySet();
49 49
50 /** 50 /**
51 * Return whether or not the receiver has a value for the supplied key. 51 * Return whether or not the receiver has a value for the supplied key.
52 * 52 *
53 * @param key the key 53 * @param key the key