advene :: gui :: edit :: elements :: EditResourcePopup :: Class EditResourcePopup
[hide private]
[frames] | no frames]

Class EditResourcePopup

source code

      object --+    
               |    
EditElementPopup --+
                   |
                  EditResourcePopup

Nested Classes [hide private]
    Inherited from EditElementPopup
  __metaclass__
Instance Methods [hide private]
 
notify(self, element) source code
 
make_widget(self, editable=True, compact=False)
Create the editing widget (and return it).
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from EditElementPopup
 
__init__(self, el, controller=None, editable=True)
Create an edit window for the given element.
source code
 
apply_cb(self, button=None, event=None, callback=None)
Method called when applying a form.
source code
 
close_cb(self, button=None, data=None)
Method called when closing a form.
source code
 
compact(self, callback=None)
Display the compact edit window.
source code
 
display(self)
Display the display window (not editable).
source code
 
edit(self, callback=None, modal=False, label=None)
Display the edit window.
source code
 
expandable(self, widget, label='', expanded=False) source code
 
framed(self, widget, label='') source code
 
get_title(self)
Return the element title.
source code
 
key_pressed_cb(self, widget=None, event=None) source code
 
make_registered_form(self, element=None, fields=(), editables=None, editable=False, types=None, labels=None)
Shortcut for creating an Attributes form and registering it.
source code
 
popup(self, *p, **kw) source code
 
refresh(self)
Refresh the display if the element has changed.
source code
 
register_form(self, f) source code
 
set_label(self, l) source code
 
validate_cb(self, button=None, event=None, callback=None)
Method called when validating a form.
source code
Static Methods [hide private]
 
can_edit(el)
Return True if the class can edit the given element.
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

can_edit(el)
Static Method

source code 

Return True if the class can edit the given element.

Warning: it is a static method (no self argument), but the staticmethod declaration is handled in the metaclass.

Overrides: EditElementPopup.can_edit
(inherited documentation)

make_widget(self, editable=True, compact=False)

source code 

Create the editing widget (and return it).

Overrides: EditElementPopup.make_widget
(inherited documentation)