using System.Collections.Generic; using Core.Common.Base.Data; using Core.Common.Controls.Swf; using Core.Common.Gui; using Core.Common.Gui.Forms; using Core.Common.Gui.Plugin; using Core.Common.Gui.Swf; using Core.Common.Utils; using Core.Plugins.CommonTools.Gui.Properties; using Core.Plugins.CommonTools.Gui.Property; using PropertyInfo = Core.Common.Gui.PropertyInfo; namespace Core.Plugins.CommonTools.Gui { public class CommonToolsGuiPlugin : GuiPlugin { public override IEnumerable GetPropertyInfos() { yield return new PropertyInfo(); yield return new PropertyInfo(); yield return new PropertyInfo(); } public override IEnumerable GetViewInfoObjects() { yield return new ViewInfo { Image = Common.Gui.Properties.Resources.key, GetViewName = (v, o) => o != null ? o.Name : "" }; yield return new ViewInfo { Image = Resources.home, Description = Resources.CommonToolsGuiPlugin_GetViewInfoObjects_Browser, GetViewName = (v, o) => o != null ? o.Name : "" }; } } }