appobject.py
changeset 2658 5535857eeaa5
parent 2657 de974465d381
child 2770 356e9d7c356d
child 4212 ab6573088b4a
--- a/appobject.py	Mon Aug 03 15:16:47 2009 +0200
+++ b/appobject.py	Mon Aug 03 15:42:47 2009 +0200
@@ -302,18 +302,6 @@
     def vreg_initialization_completed(cls):
         pass
 
-    @classmethod
-    def selected(cls, *args, **kwargs):
-        """called by the registry when the appobject has been selected.
-
-        It must return the object that will be actually returned by the .select
-        method (this may be the right hook to create an instance for
-        example). By default the selected object is called using the given args
-        and kwargs and the resulting value (usually a class instance) is
-        returned without any transformation.
-        """
-        return cls(*args, **kwargs)
-
     # Eproperties definition:
     # key: id of the property (the actual CWProperty key is build using
     #      <registry name>.<obj id>.<property id>