class InsertedObjectTypeMap(SignalEmitter): (source)
InsertedObjectTypeExtension
objects. This is a proxy for loading object types defined in plugins. For convenience you can use PluginManager.insertedobjects to access an instance of this mapping.Method | __contains__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | get |
Undocumented |
Method | items |
Undocumented |
Method | keys |
Undocumented |
Method | register_object |
Register an object type @param objecttype: an object derived from InsertedObjectType @raises AssertionError: if another object already uses the same name |
Method | unregister_object |
Unregister a specific object type. @param objecttype: an object derived from InsertedObjectType |
Method | values |
Undocumented |
Class Variable | __signals__ |
Undocumented |
Instance Variable | _objects |
Undocumented |
Inherited from SignalEmitter
:
Method | __new__ |
Undocumented |
Method | block_signals |
Returns a context manager for blocking one or more signals |
Method | connect |
Register a handler for a specific object. |
Method | connect_after |
Like connect() but handler will be called after default handler |
Method | disconnect |
Undocumented |
Method | emit |
Undocumented |
Method | emit_return_first |
Emits a signal and stops emission on the first handler that returns a not-None value. |
Method | emit_return_iter |
Returns an generator that calls one handler on each iteration and yields the return values. This allows aggregating return values. |
Method | _connect |
Undocumented |
Method | _setup_signal |
Undocumented |
Method | _teardown_signal |
Undocumented |
Parameters | |
objecttype | an object derived from InsertedObjectType |
Raises | |
AssertionError | if another object already uses the same name |