use IPredicate as type interface for predicate type in standard setup
This commit is contained in:
parent
89f4ac4b49
commit
29ad535ce5
2 changed files with 3 additions and 2 deletions
|
@ -347,7 +347,8 @@ class ConceptView(BaseView):
|
|||
|
||||
def isHidden(self, pr):
|
||||
if (getName(pr.second.conceptType) in
|
||||
IOptions(adapted(pr.predicate))('hide_parents_for', [])):
|
||||
#IOptions(adapted(pr.predicate))('hide_parents_for', [])):
|
||||
IOptions(pr.predicate)('hide_parents_for', [])):
|
||||
return True
|
||||
hideRoles = IOptions(adapted(pr.first.conceptType))('hide_for', None)
|
||||
if hideRoles is not None:
|
||||
|
|
|
@ -707,7 +707,7 @@ class ITypeConcept(IConceptSchema, ILoopsAdapter):
|
|||
|
||||
# predicates
|
||||
|
||||
class IPredicate(IConceptSchema):
|
||||
class IPredicate(IConceptSchema, ILoopsAdapter):
|
||||
""" Provided by predicates (predicate concepts that specify relation types),
|
||||
i.e. concepts of type 'predicate' should be adaptable to this interface.
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue