Package advene :: Package model :: Module viewable :: Class GenericViewable
[hide private]
[frames] | no frames]

Class GenericViewable

source code

        object --+        
                 |        
          Viewable --+    
                     |    
??.ViewableWithClass-5 --+
                         |
                        GenericViewable
Known Subclasses:

Nested Classes [hide private]
    Inherited from Viewable
  __metaclass__
Metaclass automatically defining properties.
Instance Methods [hide private]
 
__init__(self, o, stack)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getRootPackage(self) source code
 
getOwnerPackage(self) source code
 
__getattribute__(self, name)
x.__getattribute__('name') <==> x.name
source code

Inherited from unreachable.ViewableWithClass: getViewableType

Inherited from unreachable.ViewableWithClass (private): _get_viewable_class

Inherited from object: __delattr__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from Viewable
 
_find_named_view(self, view_id, context) source code
 
delDefaultView(self) source code
 
findDefaultView(self) source code
 
getDefaultView(self) source code
 
getValidViews(self)
Returns the ids of views from the root package which are valid for this object.
source code
 
setDefaultView(self, value) source code
 
view(self, view_id=None, context=None)
Apply the specified view (or the best appliable view, cf findDefaultView) on the object, with optional parameters given in dico.
source code
Static Methods [hide private]

Inherited from unreachable.ViewableWithClass: getViewableClass, getViewableTypeGetterName

    Inherited from Viewable
 
getAllClasses()
Return all the declared viewable classes
source code
 
withClass(viewable_class, viewable_type_getter_name=None)
Make or retrieve (if already created) a subclass of Viewable with the corresponding viewable_class
source code
Properties [hide private]
  ownerPackage
  rootPackage

Inherited from unreachable.ViewableWithClass: viewableClass, viewableType

Inherited from object: __class__

    Inherited from Viewable
  defaultView
  validViews
Returns the ids of views from the root package which are valid for this object.
Method Details [hide private]

__init__(self, o, stack)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__getattribute__(self, name)

source code 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__
(inherited documentation)

Property Details [hide private]

ownerPackage

Get Method:
unreachable.getOwnerPackage(self)

rootPackage

Get Method:
unreachable.getRootPackage(self)