Move selectedContainerId and selectedSymbolId to Editor component
This commit is contained in:
parent
f74405f002
commit
c725b107a4
11 changed files with 165 additions and 252 deletions
|
@ -1,30 +1,24 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
[DataContract]
|
||||
public class HistoryState
|
||||
{
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string lastAction;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string mainContainer;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Dictionary<string, ContainerModel> containers;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string selectedContainerId;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Dictionary<string, string> typeCounters;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Dictionary<string, SymbolModel> symbols;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string selectedSymbolId;
|
||||
}
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace SVGLDLibs.Models
|
||||
{
|
||||
[DataContract]
|
||||
public class HistoryState
|
||||
{
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string lastAction;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public string mainContainer;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Dictionary<string, ContainerModel> containers;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Dictionary<string, string> typeCounters;
|
||||
|
||||
[DataMember(EmitDefaultValue = false)]
|
||||
public Dictionary<string, SymbolModel> symbols;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue