Logo Search packages:      
Sourcecode: zope-atseng version File versions  Download package

def ATSchemaEditorNG::SchemaEditor::SchemaEditor::atse_registerWidget (   self,
  widget_id,
  widget,
  kw 
)

add a new widget to the set of registered widgets; supported
keyword arguments:

- visible: whether or not to include the widget in the schema editor

- useVocab: whether or not to include the key|value vocabulary box

- size_macro: path to a macro that will accept the widget size data

- post_macro: path to a macro that will be injected at the end of the
      field edit form

Definition at line 623 of file SchemaEditor.py.

00623                                                           :
        """add a new widget to the set of registered widgets; supported
        keyword arguments:

        - visible: whether or not to include the widget in the schema editor

        - useVocab: whether or not to include the key|value vocabulary box

        - size_macro: path to a macro that will accept the widget size data

        - post_macro: path to a macro that will be injected at the end of the
                      field edit form"""
        self._initRegistries()
        kw['widget'] = widget
        self._widget_registry[widget_id] = kw
        self._p_changed = 1 # mutation might not trigger db write

    security.declareProtected(ManageSchemaPermission, 'atse_getStorageInfo')
    def atse_getStorageInfo(self):


Generated by  Doxygen 1.6.0   Back to index