C# Class WikiFunctions.Logging.LogControl

Datei anzeigen Open project: reedy/AutoWikiBrowser

Protected Properties

Property Type Description
FilteredItems List
listMaker ListMaker

Private Properties

Property Type Description
CurrentlySelectedListView ListView
FilterItems void
GetFilePrefs LogFileType
InitializeComponent void
LogLists_DoubleClick void
LogLists_MouseLeave void
LogLists_MouseMove void
MenuItemOwner ListView
RefreshButtonEnablement void
RemoveSelected void
ResizeListView void
SaveListView void
SelectedItem AWBLogListener
addSelectedToArticleListToolStripMenuItem_Click void
btnAddSuccessToList_Click void
btnAddToList_Click void
btnClearIgnored_Click void
btnClearSaved_Click void
btnSaveIgnored_Click void
btnSaveSaved_Click void
clearToolStripMenuItem_Click void
copyToolStripMenuItem_Click void
cutToolStripMenuItem_Click void
filterExcludeToolStripMenuItem_Click void
filterShowOnlySelectedToolStripMenuItem_Click_1 void
mnuListView_Opening void
openDiffInBrowserToolStripMenuItem_Click void
openHistoryInBrowserToolStripMenuItem_Click void
openInBrowserToolStripMenuItem_Click void
removeToolStripMenuItem_Click void
resetToolStripMenuItem_Click void
selectAllToolStripMenuItem_Click void
selectNoneToolStripMenuItem_Click void

Public Methods

Method Description
AddLog ( bool skipped, AWBLogListener logListener ) : void

Adds the item to the saved or skipped lists as appropriate Unless user has explicit sort on by column clicking, sorts log lists newest first

Initialise ( ListMaker rlistMaker ) : void
LogControl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CurrentlySelectedListView ( ) : ListView

Returns the currently selected list view (saved or ignored) Works from context menu clicks or keyboard shortcuts

FilterItems ( bool compareMatch ) : void
GetFilePrefs ( ) : LogFileType
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LogLists_DoubleClick ( object sender, EventArgs e ) : void
LogLists_MouseLeave ( object sender, EventArgs e ) : void
LogLists_MouseMove ( object sender, MouseEventArgs e ) : void
MenuItemOwner ( object sender ) : ListView

Returns the ListView object from which the menu item was clicked Note: does not work when event triggered by keyboard shortcut as toolstrip not opened by keyboard shortcuts

RefreshButtonEnablement ( ) : void

Disables the Clear / Save log / Add all to list buttons when no articles in log, enables when 1 or more articles. Updates the skipped/saved count labels, refreshes column sizing

RemoveSelected ( ListView lv ) : void
ResizeListView ( NoFlickerExtendedListView lstView ) : void
SaveListView ( ListView listview ) : void
SelectedItem ( object sender ) : AWBLogListener
addSelectedToArticleListToolStripMenuItem_Click ( object sender, EventArgs e ) : void
btnAddSuccessToList_Click ( object sender, EventArgs e ) : void
btnAddToList_Click ( object sender, EventArgs e ) : void
btnClearIgnored_Click ( object sender, EventArgs e ) : void
btnClearSaved_Click ( object sender, EventArgs e ) : void
btnSaveIgnored_Click ( object sender, EventArgs e ) : void
btnSaveSaved_Click ( object sender, EventArgs e ) : void
clearToolStripMenuItem_Click ( object sender, EventArgs e ) : void
copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
filterExcludeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
filterShowOnlySelectedToolStripMenuItem_Click_1 ( object sender, EventArgs e ) : void
mnuListView_Opening ( object sender, CancelEventArgs e ) : void
openDiffInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openHistoryInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openInBrowserToolStripMenuItem_Click ( object sender, EventArgs e ) : void
removeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
resetToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectNoneToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

AddLog() public method

Adds the item to the saved or skipped lists as appropriate Unless user has explicit sort on by column clicking, sorts log lists newest first
public AddLog ( bool skipped, AWBLogListener logListener ) : void
skipped bool
logListener AWBLogListener
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Initialise() public method

public Initialise ( ListMaker rlistMaker ) : void
rlistMaker ListMaker
return void

LogControl() public method

public LogControl ( ) : System
return System

Property Details

FilteredItems protected_oe property

protected List FilteredItems
return List

listMaker protected_oe property

protected ListMaker listMaker
return ListMaker