Class type Ocamlcvs.Behav.list_behaviour


class type ['a] list_behaviour = object .. end
Inherits
method after_action : 'a -> unit
to call after an operation on a file, for example, to reload a file after an update.
method autorize_file : 'a -> autorization_response
to call for each file before performing an operation on it, for example to save a file before a commit.
method cvs_info_of_t : 'a -> Ocamlcvs.Types.cvs_info
method display_strings : 'a -> string option * string list
the function giving the optional color and the strings to display for a file in a list
method comparison_function : int -> 'a -> 'a -> int
return a comparison function in function of a number (0-based) of column. The comparison function is used to sort a list of elements.
method elements : string -> 'a list
get the elements from a directory
method menu_ctx : 'a list -> GToolbox.menu_entry list
to get the contextual menu, depending on the selected elements
method remove_element : string -> unit
method select : 'a -> unit
to call when an element is selected
method t_of_cvs_info : Ocamlcvs.Types.cvs_info -> 'a
method titles : string list
the titles of columns
method unselect : 'a -> unit
to call when an element is unselected
method double_click : 'a -> unit
to call when an element is doubel clicked
method update_element : 'a -> unit
add or update element
method needs_cvs_status : bool
indicate whether the update of the list needs a 'cvs status'.