C# Class GitScc.Blinkbox.UI.ReviewTab

Interaction logic for reviewTab.xaml
Datei anzeigen Open project: blinkbox/Git-Source-Control-Provider

Private Properties

Property Type Description
Diff_MouseDoubleClick void
GetSelectedReviewItem GitFile
OpenFile void
Review_MouseDoubleClick void

Public Methods

Method Description
CancelReview ( ) : void

Cancel the current review and enable the pending changes list.

ClearDiffEditor ( ) : void

Clears the diff editor.

DisplayReview ( List changedFiles ) : void

List the provided files in the pending changes window for reivew.

EndReview ( ) : void

Ends the review.

InitialiseBlinkboxExtensions ( ) : void

Initialises the blinkbox extensions.

Review ( List changedFiles, string branchName ) : void

Show a list of files for review.

ReviewTab ( ) : System

Initializes a new instance of the ReviewTab class.

Review_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Handles the SelectionChanged event of the Review control.

WriteToDiffWindow ( string message ) : void

Writes a message to the diff editor

Private Methods

Method Description
Diff_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Opens the file in VS.

GetSelectedReviewItem ( ) : GitFile

Gets the selected review item.

OpenFile ( string fileName ) : void

Opens a file in VS.

Review_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Opens a tortoise diff.

Method Details

CancelReview() public method

Cancel the current review and enable the pending changes list.
public CancelReview ( ) : void
return void

ClearDiffEditor() public method

Clears the diff editor.
public ClearDiffEditor ( ) : void
return void

DisplayReview() public method

List the provided files in the pending changes window for reivew.
public DisplayReview ( List changedFiles ) : void
changedFiles List /// The changed files. ///
return void

EndReview() public method

Ends the review.
public EndReview ( ) : void
return void

InitialiseBlinkboxExtensions() public method

Initialises the blinkbox extensions.
public InitialiseBlinkboxExtensions ( ) : void
return void

Review() public method

Show a list of files for review.
public Review ( List changedFiles, string branchName ) : void
changedFiles List /// The changed files. ///
branchName string /// The branch Name. ///
return void

ReviewTab() public method

Initializes a new instance of the ReviewTab class.
public ReviewTab ( ) : System
return System

Review_SelectionChanged() public method

Handles the SelectionChanged event of the Review control.
public Review_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
sender object The source of the event.
e System.Windows.Controls.SelectionChangedEventArgs The instance containing the event data.
return void

WriteToDiffWindow() public method

Writes a message to the diff editor
public WriteToDiffWindow ( string message ) : void
message string The message.
return void