[Workspaces] Sequential launch (#35297)

This commit is contained in:
Seraphima Zykova
2024-10-14 16:51:02 +03:00
committed by GitHub
parent 89ec5be5ba
commit 9994fd7715
26 changed files with 419 additions and 158 deletions

View File

@@ -25,6 +25,8 @@ namespace WorkspacesEditor.Data
public int Height { get; set; }
}
public string Id { get; set; }
public string Application { get; set; }
public string ApplicationPath { get; set; }

View File

@@ -31,6 +31,7 @@ namespace WorkspacesEditor.Models
public Application(Application other)
{
Id = other.Id;
AppName = other.AppName;
AppPath = other.AppPath;
AppTitle = other.AppTitle;
@@ -95,6 +96,8 @@ namespace WorkspacesEditor.Models
}
}
public string Id { get; set; }
public string AppName { get; set; }
public string AppPath { get; set; }

View File

@@ -251,6 +251,7 @@ namespace WorkspacesEditor.Models
{
Models.Application newApp = new Models.Application()
{
Id = app.Id != null ? app.Id : $"{{{Guid.NewGuid().ToString()}}}",
AppName = app.Application,
AppPath = app.ApplicationPath,
AppTitle = app.Title,

View File

@@ -97,6 +97,7 @@ namespace WorkspacesEditor.Utils
{
wrapper.Applications.Add(new ProjectData.ApplicationWrapper
{
Id = app.Id,
Application = app.AppName,
ApplicationPath = app.AppPath,
Title = app.AppTitle,