C# Class LongoMatch.Gui.Component.ProjectListWidget

Inheritance: Gtk.Bin
Show file Open project: LongoMatch/longomatch

Public Methods

Method Description
ClearSearch ( ) : void
Fill ( List projects ) : void
ProjectListWidget ( ) : System
RemoveProjects ( List projects ) : void

Removes the provided projects from the list. Matching is done using the project description instance, not the project ID.

ToggleAll ( bool active ) : void

Toggles the states of all cells.

UpdateProject ( ProjectLongoMatch project ) : void

Updates the project description with a matching ID to the new description.

Protected Methods

Method Description
Build ( ) : void
HandleIconViewSelectionChanged ( object o, EventArgs args ) : void
OnFilterentryChanged ( object sender, System e ) : void

Private Methods

Method Description
CreateStore ( ) : ListStore
CreateViews ( ) : void
FilterTree ( Gtk model, Gtk iter ) : bool
FormatDesc ( ProjectDescription pdesc ) : string
HandleCellToggled ( object o, ToggledArgs args ) : void
HandleItemActivated ( object o, ItemActivatedArgs args ) : void
HandleSelectionChanged ( TreeModel model, TreePath selectedItems ) : void
HandleTreeviewRowActivated ( object o, RowActivatedArgs args ) : void
HandleTreeviewSelectionChanged ( object sender, EventArgs e ) : void
SortFunc ( TreeModel model, TreeIter a, TreeIter b ) : int
UpdateSelection ( TreeIter iter, bool active ) : void

Method Details

Build() protected method

protected Build ( ) : void
return void

ClearSearch() public method

public ClearSearch ( ) : void
return void

Fill() public method

public Fill ( List projects ) : void
projects List
return void

HandleIconViewSelectionChanged() protected method

protected HandleIconViewSelectionChanged ( object o, EventArgs args ) : void
o object
args EventArgs
return void

OnFilterentryChanged() protected method

protected OnFilterentryChanged ( object sender, System e ) : void
sender object
e System
return void

ProjectListWidget() public method

public ProjectListWidget ( ) : System
return System

RemoveProjects() public method

Removes the provided projects from the list. Matching is done using the project description instance, not the project ID.
public RemoveProjects ( List projects ) : void
projects List List of project description to remove.
return void

ToggleAll() public method

Toggles the states of all cells.
public ToggleAll ( bool active ) : void
active bool The new state of toggle cell.
return void

UpdateProject() public method

Updates the project description with a matching ID to the new description.
public UpdateProject ( ProjectLongoMatch project ) : void
project ProjectLongoMatch
return void