web/views/schema.py
branchtls-sprint
changeset 1739 78b0819162a8
parent 1725 d15406d17803
child 1977 606923dff11b
--- a/web/views/schema.py	Tue May 12 11:49:30 2009 +0200
+++ b/web/views/schema.py	Tue May 12 11:56:12 2009 +0200
@@ -15,32 +15,10 @@
 from cubicweb.schemaviewer import SchemaViewer
 from cubicweb.view import EntityView, StartupView
 from cubicweb.common import tags, uilib
-from cubicweb.web import uicfg, formwidgets, action
+from cubicweb.web import action
 from cubicweb.web.views import TmpFileViewMixin, primary, baseviews
 
 
-uicfg.rcategories.tag_relation('!CWPermission', 'require_group', '*', 'primary')
-uicfg.rcategories.tag_attribute('EEtype', 'final', 'generated')
-uicfg.rcategories.tag_attribute('ERtype', 'final', 'generated')
-
-uicfg.rinlined.tag_relation('!CWRelation', 'relation_type', '*', True)
-uicfg.rinlined.tag_relation('!CWRelation', 'from_entity', '*', True)
-uicfg.rinlined.tag_relation('!CWRelation', 'to_entity', '*', True)
-
-uicfg.rwidgets.tag_attribute('RQLExpression', 'expression', formwidgets.TextInput)
-
-uicfg.rmode.tag_relation('*', 'state_of', '!CWEType', 'create')
-uicfg.rmode.tag_relation('*', 'transition_of', '!CWEType', 'create')
-uicfg.rmode.tag_relation('*', 'relation_type', '!CWRType', 'create')
-uicfg.rmode.tag_relation('*', 'from_entity', '!CWEType', 'link')
-uicfg.rmode.tag_relation('*', 'to_entity', '!CWEType', 'link')
-
-for attr in ('name', 'meta', 'final'):
-    uicfg.rdisplay.tag_attribute('CWRType', attr, {})
-for attr in ('name', 'meta', 'final', 'symetric', 'inlined'):
-    uicfg.rdisplay.tag_attribute('CWRType', attr, {})
-
-
 class ViewSchemaAction(action.Action):
     id = 'schema'
     __select__ = yes()