Package aldrin :: Module interface :: Class IExtensionHost
[show private | hide private]
[frames | no frames]

Type IExtensionHost

object --+    
         |    
 Interface --+
             |
            IExtensionHost

Known Subclasses:
ExtensionHost

Base class for the Aldrin UI extension host. An extension host object will be passed to extension classes on initialization, which can be queried for subsequent services.
Method Summary
{IExtensionManager} get_extension_manager(self)
Returns the extension manager object.
str resolve_path(self, path)
Resolves a relative path to an absolute one, where the location of the manifest.xml is regarded as the base directory.
    Inherited from Interface
  __init__(self)
Compares implemented methods and warns on discrepancies in argument count, argument names or default values.
  create_protected_proxy(self, ifaces)
Returns a protected proxy object that only exports methods defined in interfaces.
  get_interfaces(self)
Returns all supported interfaces.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

get_extension_manager(self)

Returns the extension manager object.
Returns:
Extension manager object.
           (type={IExtensionManager})

resolve_path(self, path)

Resolves a relative path to an absolute one, where the location of the manifest.xml is regarded as the base directory.
Parameters:
path - Relative path to file or dir.
           (type=str)
Returns:
Absolute path to file or dir.
           (type=str)

Generated by Epydoc 2.1 on Sun Feb 4 18:01:13 2007 http://epydoc.sf.net