equal
deleted
inserted
replaced
401 entity = self._cw.entity_from_eid(eid) |
401 entity = self._cw.entity_from_eid(eid) |
402 if filteretype is None or entity.__regid__ == filteretype: |
402 if filteretype is None or entity.__regid__ == filteretype: |
403 entities.append(entity) |
403 entities.append(entity) |
404 return entities |
404 return entities |
405 |
405 |
406 |
406 # XXX should be a view usable using uicfg |
407 class EditRelationCtxComponent(EditRelationMixIn, EntityCtxComponent): |
407 class EditRelationCtxComponent(EditRelationMixIn, EntityCtxComponent): |
408 """base class for boxes which let add or remove entities linked by a given |
408 """base class for boxes which let add or remove entities linked by a given |
409 relation |
409 relation |
410 |
410 |
411 subclasses should define at least id, rtype and target class attributes. |
411 subclasses should define at least id, rtype and target class attributes. |