aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2020-12-30 14:27:05 +0200
committerMirta <mirta@twine-s.com>2020-12-30 14:27:05 +0200
commit1344a54c37f7cbba7a294674b4b733d72ee257ea (patch)
tree4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation
parent124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff)
parent281610ac56799f6870c587a942495d91cd55b227 (diff)
downloadTango-1344a54c.tar.gz
Tango-1344a54c.zip
Hope it is fine
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs17
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs3
2 files changed, 2 insertions, 18 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs
index 1fcdb4410..8df0a7fb8 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs
@@ -13,11 +13,6 @@ namespace Tango.PPC.Common.Navigation
public interface INavigationManager
{
/// <summary>
- /// Occurs when the current view model has changed.
- /// </summary>
- event EventHandler<PPCViewModel> CurrentVMChanged;
-
- /// <summary>
/// Gets the current module.
/// </summary>
IPPCModule CurrentModule { get; }
@@ -33,16 +28,6 @@ namespace Tango.PPC.Common.Navigation
bool CanNavigateBack { get; }
/// <summary>
- /// Gets a value indicating whether the back should be enabled.
- /// </summary>
- bool IsBackEnabled { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether the navigation system is currently navigating.
- /// </summary>
- bool IsNavigating { get; set; }
-
- /// <summary>
/// Navigates to the previous view if <see cref="CanNavigateBack"/> is true.
/// </summary>
Task<bool> NavigateBack();
@@ -94,7 +79,7 @@ namespace Tango.PPC.Common.Navigation
/// Navigates to the specified module and view by full path (e.g Jobs.JobsView).
/// </summary>
/// <param name="fullPath">The full path.</param>
- Task<bool> NavigateTo(String fullPath, bool pushToHistory = true, Action<PPCViewModel, PPCViewModel> onNavigating = null, Action<PPCViewModel, PPCViewModel> onNavigated = null);
+ Task<bool> NavigateTo(String fullPath, bool pushToHistory = true);
/// <summary>
/// Navigates to the specified module and view with the specified object and expecting a return parameter.
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs
index 643908e87..b4562054c 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs
@@ -22,7 +22,6 @@ namespace Tango.PPC.Common.Navigation
HomeModule,
ShutdownView,
RestartingSystemView,
- EmergencyView,
- RestartingView,
+ EmergencyView
}
}