void ChangesetsViewMenu.IMenuOperations.DiffBranch() { LaunchDiffOperations.DiffBranch( ChangesetsSelection.GetSelectedRepository(mChangesetsListView), ChangesetsSelection.GetSelectedChangeset(mChangesetsListView), mIsGluonMode); }
void IChangesetMenuOperations.DiffChangeset() { LaunchDiffOperations.DiffChangeset( ChangesetsSelection.GetSelectedRepository(mChangesetsListView), ChangesetsSelection.GetSelectedChangeset(mChangesetsListView), mIsGluonMode); }
void OnSelectionChanged() { if (!ChangesetsSelection.IsSingleSelection(mChangesetsListView)) { return; } mDiffPanel.UpdateInfo( MountPointWithPath.BuildWorkspaceRootMountPoint( ChangesetsSelection.GetSelectedRepository(mChangesetsListView)), ChangesetsSelection.GetSelectedChangeset(mChangesetsListView)); }
void IChangesetMenuOperations.DiffSelectedChangesets() { List <RepObjectInfo> selectedChangesets = ChangesetsSelection.GetSelectedRepObjectInfos(mChangesetsListView); if (selectedChangesets.Count < 2) { return; } LaunchDiffOperations.DiffSelectedChangesets( ChangesetsSelection.GetSelectedRepository(mChangesetsListView), (ChangesetExtendedInfo)selectedChangesets[0], (ChangesetExtendedInfo)selectedChangesets[1], mIsGluonMode); }