web/views/schema.py
changeset 2293 7ded2a1416e4
parent 2234 1fbcf202882d
parent 2277 a3622e6c34ee
child 2381 caad2367d940
equal deleted inserted replaced
2235:d5987f75c97c 2293:7ded2a1416e4
   246         visitor = OneHopRSchemaVisitor(self.req, rschema)
   246         visitor = OneHopRSchemaVisitor(self.req, rschema)
   247         s2d.schema2dot(outputfile=tmpfile, visitor=visitor)
   247         s2d.schema2dot(outputfile=tmpfile, visitor=visitor)
   248 
   248 
   249 ### facets
   249 ### facets
   250 
   250 
   251 class CWMetaFacet(AttributeFacet):
       
   252     id = 'cwmeta-facet'
       
   253     __select__ = AttributeFacet.__select__ & implements('CWEType')
       
   254     rtype = 'meta'
       
   255 
       
   256 class CWFinalFacet(AttributeFacet):
   251 class CWFinalFacet(AttributeFacet):
   257     id = 'cwfinal-facet'
   252     id = 'cwfinal-facet'
   258     __select__ = AttributeFacet.__select__ & implements('CWEType')
   253     __select__ = AttributeFacet.__select__ & implements('CWEType', 'CWRType')
   259     rtype = 'final'
   254     rtype = 'final'