import java.util.Collection;\r
import java.util.Vector;\r
\r
-import org.apache.log4j.Logger;\r
import org.eclipse.ui.views.properties.IPropertyDescriptor;\r
import org.eclipse.ui.views.properties.IPropertySource;\r
import org.eclipse.ui.views.properties.PropertyDescriptor;\r
* @version 1.0\r
*/\r
abstract public class CollectionPropertySource implements IPropertySource {\r
- private static final Logger logger = Logger\r
- .getLogger(CollectionPropertySource.class);\r
\r
protected Vector<PropertyDescriptor> descriptors = new Vector<PropertyDescriptor>();\r
- protected Collection collection;\r
+ protected Collection<?> collection;\r
private Object collectionOwner;\r
\r
- public CollectionPropertySource(Collection collection) {\r
+ public CollectionPropertySource(Collection<?> collection) {\r
this.collection = collection;\r
for (Object item : collection) {\r
addDescriptor(item);\r
}\r
}\r
\r
- public CollectionPropertySource(Collection collection, Object collectionOwner) {\r
+ public CollectionPropertySource(Collection<?> collection, Object collectionOwner) {\r
this.collection = collection;\r
this.collectionOwner = collectionOwner;\r
for (Object item : collection) {\r