Navigation commands

This commit is contained in:
2022-05-24 20:37:12 +02:00
parent cb5260da5d
commit d94d198344
10 changed files with 206 additions and 17 deletions

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class GoToHomeCommand : IIdentifiableUserCommand
{
public const string CommandName = "go_to_home";
public static GoToHomeCommand Instance { get; } = new GoToHomeCommand();
private GoToHomeCommand()
{
}
public string UserCommandID => CommandName;
}

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class GoToProviderCommand : IIdentifiableUserCommand
{
public const string CommandName = "go_to_provider";
public static GoToProviderCommand Instance { get; } = new GoToProviderCommand();
private GoToProviderCommand()
{
}
public string UserCommandID => CommandName;
}

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class GoToRootCommand : IIdentifiableUserCommand
{
public const string CommandName = "go_to_root";
public static GoToRootCommand Instance { get; } = new GoToRootCommand();
private GoToRootCommand()
{
}
public string UserCommandID => CommandName;
}

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class MoveCursorDownPageCommand : IIdentifiableUserCommand
{
public const string CommandName = "move_cursor_down_page";
public static MoveCursorDownPageCommand Instance { get; } = new MoveCursorDownPageCommand();
private MoveCursorDownPageCommand()
{
}
public string UserCommandID => CommandName;
}

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class MoveCursorToFirstCommand : IIdentifiableUserCommand
{
public const string CommandName = "move_cursor_to_first";
public static MoveCursorToFirstCommand Instance { get; } = new MoveCursorToFirstCommand();
private MoveCursorToFirstCommand()
{
}
public string UserCommandID => CommandName;
}

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class MoveCursorToLastCommand : IIdentifiableUserCommand
{
public const string CommandName = "move_cursor_to_last";
public static MoveCursorToLastCommand Instance { get; } = new MoveCursorToLastCommand();
private MoveCursorToLastCommand()
{
}
public string UserCommandID => CommandName;
}

View File

@@ -0,0 +1,13 @@
namespace FileTime.App.Core.UserCommand;
public class MoveCursorUpPageCommand : IIdentifiableUserCommand
{
public const string CommandName = "move_cursor_up_page";
public static MoveCursorUpPageCommand Instance { get; } = new MoveCursorUpPageCommand();
private MoveCursorUpPageCommand()
{
}
public string UserCommandID => CommandName;
}