Package advene :: Package gui :: Package views :: Module table :: Class AnnotationTable
[hide private]
[frames] | no frames]

Class AnnotationTable

source code

object --+    
         |    
 AdhocView --+
             |
            AnnotationTable

Instance Methods [hide private]
 
__init__(self, controller=None, parameters=None, elements=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_elements(self)
Return the list of elements in their displayed order.
source code
 
build_model(self)
Build the ListStore containing the data.
source code
 
build_widget(self) source code
 
drag_data_get_cb(self, treeview, context, selection, targetType, timestamp) source code
 
get_selected_nodes(self)
Return the currently selected node.
source code
 
debug_cb(self, *p, **kw) source code
 
csv_export(self, name=None) source code
 
row_activated_cb(self, widget, path, view_column)
Edit the element on Return or double click
source code
 
tree_view_button_cb(self, widget=None, event=None) source code
 
drag_sent(self, widget, context, selection, targetType, eventTime) source code
 
drag_received(self, widget, context, x, y, selection, targetType, time) source code

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

    Inherited from AdhocView
 
attach_view(self, menuitem, window) source code
 
close(self, *p) source code
 
export_as_static_view(self, ident=None)
Propose to export the view as a static view.
source code
 
get_save_arguments(self)
Method called when saving a parametered view.
source code
 
get_widget(self)
Return the widget.
source code
 
load_parameters(self, param)
Parse the parameters from a Content object, a tuple or an ElementTree.Element
source code
 
log(self, msg, level=None) source code
 
message(self, m)
Display a message in the statusbar, if present.
source code
 
parameters_to_element(self, options=None, arguments=None)
Generate an ET.Element representing the view and its parameters.
source code
 
popup(self, label=None) source code
 
register_slave_view(self, v) source code
 
safe_connect(self, obj, *p)
Connect a signal handler to a gobject.
source code
 
save_default_options(self, *p)
Save the default options.
source code
 
save_parameters(self, content, options=None, arguments=None)
Save the view parameters to a Content object.
source code
 
save_view(self, *p) source code
 
set_label(self, label) source code
 
unregister_slave_view(self, v) source code
Class Variables [hide private]
  view_name = 'Annotation table view'
  view_id = 'table'
  tooltip = 'Display annotations in a table'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, controller=None, parameters=None, elements=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

get_elements(self)

source code 

Return the list of elements in their displayed order.

If a selection is active, return only selected elements.

build_widget(self)

source code 
Overrides: AdhocView.build_widget

get_selected_nodes(self)

source code 

Return the currently selected node.

None if no node is selected or multiple nodes are selected.