* Separating "SSH Info" and "Quick Launch", and updating translations. * Adding "Quick Launch" to menu. * Auto-complete, initial version. * Builds, but not finished. * Improved, but there are still some bugs... * Minor changes. * Refactroing request/response identifiers. * Improving command history. * Minor refactoring. * Deleting history by using "Del" key. * Handling mosh special case in quick commands. * SSH command handled as any other command in the path. * New resource strings. * Fixing quick command links. * Fixing after-merging bugs. * Improving filtering. * Finishing filtering. * Changing placeholder text. * Minor refactoring. * Updating resources. * Renaming NewRemoteTab back to NewSshTab.
36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
using FluentTerminal.App.Services;
|
|
using FluentTerminal.App.ViewModels.Profiles;
|
|
using FluentTerminal.Models;
|
|
|
|
namespace FluentTerminal.App.ViewModels
|
|
{
|
|
/// <summary>
|
|
/// Extends <see cref="ShellProfileViewModelBase{T}"/>, and doesn't implement any additional logic because in
|
|
/// case of SSH profiles no additional logic is needed.
|
|
/// </summary>
|
|
public class SshProfileViewModel : ShellProfileViewModelBase<SshConnectViewModel>
|
|
{
|
|
#region Constructor
|
|
|
|
public SshProfileViewModel(SshProfile sshProfile, ISettingsService settingsService,
|
|
IDialogService dialogService, IFileSystemService fileSystemService, IApplicationView applicationView,
|
|
ITrayProcessCommunicationService trayProcessCommunicationService,
|
|
IApplicationDataContainer historyContainer, bool isNew) : base(sshProfile, settingsService, dialogService,
|
|
isNew)
|
|
{
|
|
ProfileVm = new SshConnectViewModel(settingsService, applicationView, trayProcessCommunicationService,
|
|
fileSystemService, sshProfile);
|
|
}
|
|
|
|
#endregion Constructor
|
|
|
|
#region Methods
|
|
|
|
protected override bool CanDelete()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
#endregion Methods
|
|
}
|
|
} |