1414
1515namespace EditorPluginInterfaces
1616{
17+ using System . Windows . Controls ;
1718 using Toolbar ;
1819
1920 /// <summary>
@@ -44,7 +45,22 @@ public class PluginConfig
4445 /// <summary>
4546 /// Palette's reference that should be given to plugin
4647 /// </summary>
47- public IPalette Palette { get ; }
48+ public IElementProvider ElementProvider { get ; }
49+
50+ /// <summary>
51+ /// DockPanel for Constraints plugin that should be given to plugin
52+ /// </summary>
53+ public Grid ConstraintsGrid { get ; }
54+
55+ /// <summary>
56+ /// RightPanel
57+ /// </summary>
58+ public Grid RightPanel { get ; }
59+
60+ /// <summary>
61+ /// RightPanel
62+ /// </summary>
63+ public Grid SceneGrid { get ; }
4864
4965 /// <summary>
5066 /// Initializes a new instance of <see cref="PluginConfig"/>
@@ -54,14 +70,17 @@ public class PluginConfig
5470 /// <param name="scene">Scene</param>
5571 /// <param name="toolbar">Toolbar</param>
5672 /// <param name="console">Console</param>
57- /// <param name="palette">Palette </param>
58- public PluginConfig ( IModel model , IScene scene , IToolbar toolbar , IConsole console , IPalette palette )
73+ /// <param name="elementProvider">Element provider </param>
74+ public PluginConfig ( IModel model , IScene scene , IToolbar toolbar , IConsole console , IElementProvider elementProvider , Grid constraintsGrid , Grid rightPanel , Grid sceneGrid )
5975 {
6076 this . Model = model ;
6177 this . Scene = scene ;
6278 this . Toolbar = toolbar ;
6379 this . Console = console ;
64- this . Palette = palette ;
80+ this . ElementProvider = elementProvider ;
81+ this . ConstraintsGrid = constraintsGrid ;
82+ this . RightPanel = rightPanel ;
83+ this . SceneGrid = sceneGrid ;
6584 }
6685 }
6786}
0 commit comments