mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-12-15 20:34:58 +01:00
New UI framework changes
This commit is contained in:
@@ -23,25 +23,9 @@ namespace Observatory.Framework
|
||||
public object UI;
|
||||
|
||||
/// <summary>
|
||||
/// <para>Collection bound to DataGrid used by plugins with UIType.Basic.</para>
|
||||
/// <para>Objects in collection should be of a class defined within the plugin consisting of string properties.<br/>Each object is a single row, and the property names are used as column headers.</para>
|
||||
/// <para>>Two-dimensional collection of items to display in UI grid for UIType.Basic</para>
|
||||
/// </summary>
|
||||
public ObservableCollection<object> DataGrid;
|
||||
|
||||
/// <summary>
|
||||
/// <para>Collection bound to DataGrid headers used by plugins with UIType.Basic.</para>
|
||||
/// </summary>
|
||||
public ObservableCollection<string> Headers;
|
||||
|
||||
/// <summary>
|
||||
/// <para>Collection used to specify formatting of items in respective columns.</para>
|
||||
/// </summary>
|
||||
public ObservableCollection<string> Formats;
|
||||
|
||||
/// <summary>
|
||||
/// <para>Two-dimensional collection of items to display in UI grid.</para>
|
||||
/// </summary>
|
||||
public ObservableCollection<ObservableCollection<object>> Items;
|
||||
public BasicGrid BasicGrid;
|
||||
|
||||
/// <summary>
|
||||
/// Instantiate PluginUI of UIType.Basic.
|
||||
@@ -50,10 +34,10 @@ namespace Observatory.Framework
|
||||
/// <para>Collection bound to DataGrid used byu plugins with UIType.Basic.</para>
|
||||
/// <para>Objects in collection should be of a class defined within the plugin consisting of string properties.<br/>Each object is a single row, and the property names are used as column headers.</para>
|
||||
/// </param>
|
||||
public PluginUI(ObservableCollection<object> DataGrid)
|
||||
public PluginUI(BasicGrid basicGrid)
|
||||
{
|
||||
PluginUIType = UIType.Basic;
|
||||
this.DataGrid = DataGrid;
|
||||
BasicGrid = basicGrid;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user