web/views/schema.py
branchtls-sprint
changeset 1511 514e4e53a3c7
parent 1498 2c6eec0b46b9
child 1533 bcd4bfff658b
equal deleted inserted replaced
1510:59584270a5bf 1511:514e4e53a3c7
    25 uicfg.rinlined.set_rtag(True, 'relation_type', 'subject', 'CWRelation')
    25 uicfg.rinlined.set_rtag(True, 'relation_type', 'subject', 'CWRelation')
    26 uicfg.rinlined.set_rtag(True, 'from_entity', 'subject', 'CWRelation')
    26 uicfg.rinlined.set_rtag(True, 'from_entity', 'subject', 'CWRelation')
    27 uicfg.rinlined.set_rtag(True, 'to_entity', 'subject', 'CWRelation')
    27 uicfg.rinlined.set_rtag(True, 'to_entity', 'subject', 'CWRelation')
    28 uicfg.rwidgets.set_rtag('StringWidget', 'expression', 'subject', 'RQLExpression')
    28 uicfg.rwidgets.set_rtag('StringWidget', 'expression', 'subject', 'RQLExpression')
    29 
    29 
    30 uicfg.rmode.set_rtag('create', 'state_of', 'object', 'CWEType')
    30 uicfg.rmode.set_rtag('create', 'state_of', 'object', otype='CWEType')
    31 uicfg.rmode.set_rtag('create', 'transition_of', 'object', 'CWEType')
    31 uicfg.rmode.set_rtag('create', 'transition_of', 'object', otype='CWEType')
    32 uicfg.rmode.set_rtag('create', 'relation_type', 'object', 'CWRType')
    32 uicfg.rmode.set_rtag('create', 'relation_type', 'object', otype='CWRType')
    33 uicfg.rmode.set_rtag('link', 'from_entity', 'object', 'CWEType')
    33 uicfg.rmode.set_rtag('link', 'from_entity', 'object', otype='CWEType')
    34 uicfg.rmode.set_rtag('link', 'to_entity', 'object', 'CWEType')
    34 uicfg.rmode.set_rtag('link', 'to_entity', 'object', otype='CWEType')
    35 
    35 
    36 
    36 
    37 class ViewSchemaAction(action.Action):
    37 class ViewSchemaAction(action.Action):
    38     id = 'schema'
    38     id = 'schema'
    39     __select__ = yes()
    39     __select__ = yes()