editor now updatable via updateSite
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / propertysheet / CollectionPropertySource.java
index 452af1331cd4b2271798c7219c319a0ec853c5f4..91489b3600214d99b5f051ec54c9c7be0e3cd600 100644 (file)
@@ -3,7 +3,6 @@ package eu.etaxonomy.taxeditor.propertysheet;
 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
@@ -14,21 +13,19 @@ import org.eclipse.ui.views.properties.PropertyDescriptor;
  * @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