Index: src/Plugins/Wti/Wti.Plugin/WtiGuiPlugin.cs =================================================================== diff -u -r24bc894728eb6ecdeb3c0cea11611222a889f126 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Plugins/Wti/Wti.Plugin/WtiGuiPlugin.cs (.../WtiGuiPlugin.cs) (revision 24bc894728eb6ecdeb3c0cea11611222a889f126) +++ src/Plugins/Wti/Wti.Plugin/WtiGuiPlugin.cs (.../WtiGuiPlugin.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -1,10 +1,8 @@ using System.Collections.Generic; - using DelftTools.Controls; using DelftTools.Shell.Core; using DelftTools.Shell.Gui; using DelftTools.Shell.Gui.Forms; - using Mono.Addins; using Wti.Controller; using Wti.Data; @@ -48,11 +46,28 @@ } } + public override IRibbonCommandHandler RibbonCommandHandler + { + get + { + return new WtiRibbon(); + } + } + public override IEnumerable GetPropertyInfos() { - yield return new PropertyInfo{ ObjectType = typeof(WtiProject), PropertyType = typeof(WtiProjectProperties)}; - yield return new PropertyInfo{ ObjectType = typeof(PipingData), PropertyType = typeof(PipingDataProperties)}; - yield return new PropertyInfo{ ObjectType = typeof(PipingOutput), PropertyType = typeof(PipingOutputProperties)}; + yield return new PropertyInfo + { + ObjectType = typeof(WtiProject), PropertyType = typeof(WtiProjectProperties) + }; + yield return new PropertyInfo + { + ObjectType = typeof(PipingData), PropertyType = typeof(PipingDataProperties) + }; + yield return new PropertyInfo + { + ObjectType = typeof(PipingOutput), PropertyType = typeof(PipingOutputProperties) + }; } public override IEnumerable GetProjectTreeViewNodePresenters() @@ -61,13 +76,5 @@ yield return new PipingDataNodeController().NodePresenter; yield return new PipingOutputNodePresenter(); } - - public override IRibbonCommandHandler RibbonCommandHandler - { - get - { - return new WtiRibbon(); - } - } } } \ No newline at end of file