Index: Core/Gui/src/Core.Gui/Forms/MainWindow/MainWindow.xaml.cs
===================================================================
diff -u -r3a3cef57bc0976a433e34bac53dc3790435d9d7d -r6d127df298d3bc96c2690a6e3b3361fc4560583f
--- Core/Gui/src/Core.Gui/Forms/MainWindow/MainWindow.xaml.cs (.../MainWindow.xaml.cs) (revision 3a3cef57bc0976a433e34bac53dc3790435d9d7d)
+++ Core/Gui/src/Core.Gui/Forms/MainWindow/MainWindow.xaml.cs (.../MainWindow.xaml.cs) (revision 6d127df298d3bc96c2690a6e3b3361fc4560583f)
@@ -276,12 +276,6 @@
SetGui(null);
}
- ///
- /// Adds a state button to the .
- ///
- /// The text of the button.
- /// The symbol of the button.
- /// The method for obtaining the root data of the state.
internal void AddStateButton(string text, string symbol, Func getRootData)
{
var stateToggleButton = new ToggleButton
Index: Core/Gui/test/Core.Gui.TestUtil/TestPlugin.cs
===================================================================
diff -u -r4657c1cd3629ca7330a5e9da02bcec60127509f3 -r6d127df298d3bc96c2690a6e3b3361fc4560583f
--- Core/Gui/test/Core.Gui.TestUtil/TestPlugin.cs (.../TestPlugin.cs) (revision 4657c1cd3629ca7330a5e9da02bcec60127509f3)
+++ Core/Gui/test/Core.Gui.TestUtil/TestPlugin.cs (.../TestPlugin.cs) (revision 6d127df298d3bc96c2690a6e3b3361fc4560583f)
@@ -35,5 +35,10 @@
{
yield return new TreeNodeInfo();
}
+
+ public override IEnumerable GetStateInfos()
+ {
+ yield return new StateInfo("Name", "Symbol", project => project);
+ }
}
}
\ No newline at end of file