Dynamic data models - Rewrote the visualization to use leverage new core APIs

This commit is contained in:
SpoinkyNL committed 2020-10-04 22:06:21 +02:00
1 parent 26db794467
commit 8f552d0f71
22 files changed
+463 -374

No files matched your search

@@ -89,7 +89,7 @@
<!-- Value description -->
<TextBlock Grid.Column="0" Margin="0 0 5 0" FontWeight="Bold">
<Run>[</Run><Run Text="{Binding PropertyInfo.PropertyType.Name, Mode=OneWay}" /><Run>]</Run>
<Run>[</Run><Run Text="{Binding DisplayValueType.Name, Mode=OneWay}" /><Run>]</Run>
</TextBlock>
<TextBlock Grid.Column="1" Text="{Binding PropertyDescription.Name}" ToolTip="{Binding PropertyDescription.Description}" />
@@ -97,7 +97,10 @@ namespace Artemis.UI.Screens.Settings.Debug.Tabs
private void OnUpdateTimerOnElapsed(object sender, ElapsedEventArgs args)
{
MainDataModel.Update(_dataModelUIService);
lock (MainDataModel)
{
MainDataModel.Update(_dataModelUIService);
}
}
private void GetDataModel()