Index: src/DeltaShell/DeltaShell.Plugins.CommonTools/CommonToolsApplicationPlugin.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -ra0b4632c9d4f89335cbb7e0de45e525481586392 --- src/DeltaShell/DeltaShell.Plugins.CommonTools/CommonToolsApplicationPlugin.cs (.../CommonToolsApplicationPlugin.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/DeltaShell/DeltaShell.Plugins.CommonTools/CommonToolsApplicationPlugin.cs (.../CommonToolsApplicationPlugin.cs) (revision a0b4632c9d4f89335cbb7e0de45e525481586392) @@ -3,15 +3,20 @@ using System.Reflection; using DelftTools.Shell.Core; using DelftTools.Shell.Core.Dao; -using DelftTools.Shell.Gui; -using DelftTools.Utils; using Mono.Addins; namespace DeltaShell.Plugins.CommonTools { + /// + /// Common tool plugins + /// [Extension(typeof(IPlugin))] public class CommonToolsApplicationPlugin : ApplicationPlugin, IDataAccessListenersProvider { + /// + /// Gets the name of the plugin + /// Derived from ApplicationPlugin.Name + /// public override string Name { get @@ -20,6 +25,10 @@ } } + /// + /// Gets the display name from the resource + /// Derived from ApplicationPlugin.DisplayName + /// public override string DisplayName { get @@ -28,6 +37,10 @@ } } + /// + /// Gets the description from the resource + /// Derived from ApplicationPlugin.Description + /// public override string Description { get @@ -36,6 +49,10 @@ } } + /// + /// Gets the version from the assembly. + /// Derived from ApplicationPlugin.Version + /// public override string Version { get @@ -44,6 +61,10 @@ } } + /// + /// Image for displaying in gui. Default format 32x32 bitmap. + /// Derived from ApplicationPlugin.Image + /// public override Image Image { get @@ -52,12 +73,8 @@ } } - public override IEnumerable GetPersistentAssemblies() - { - yield return typeof(Url).Assembly; - yield return typeof(GuiContextManager).Assembly; - } + public IEnumerable CreateDataAccessListeners() { yield return new CommonToolsDataAccessListener();