Changeset 2506
- Timestamp:
- 3/14/2012 4:14:17 AM (15 months ago)
- Location:
- branches/eraser6/pluginsRewrite
- Files:
-
- 3 edited
-
Eraser.Plugins/Eraser.Plugins.csproj (modified) (2 diffs)
-
Eraser.Plugins/ExtensionPoints/IClientTool.cs (modified) (1 diff)
-
Eraser/MainForm.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/pluginsRewrite/Eraser.Plugins/Eraser.Plugins.csproj
r2502 r2506 52 52 <Compile Include="AssemblyInfo.cs" /> 53 53 <Compile Include="Exception.cs" /> 54 <Compile Include="ExtensionPoints\IClientTool.cs" /> 54 55 <Compile Include="ExtensionPoints\IEntropySource.cs" /> 55 56 <Compile Include="ExtensionPoints\IErasureMethod.cs" /> … … 69 70 <Compile Include="ProgressManager.cs" /> 70 71 <Compile Include="Properties\AssemblyInfo.cs" /> 72 <Compile Include="Registrars\ClientToolRegistrar.cs" /> 71 73 <Compile Include="Registrars\EntropySourceRegistrar.cs" /> 72 74 <Compile Include="Registrars\ErasureMethodRegistrar.cs" /> -
branches/eraser6/pluginsRewrite/Eraser.Plugins/ExtensionPoints/IClientTool.cs
r2505 r2506 32 32 /// items within the Eraser Tools menu. 33 33 /// </summary> 34 classIClientTool : IRegisterable34 public interface IClientTool : IRegisterable 35 35 { 36 36 /// <summary> -
branches/eraser6/pluginsRewrite/Eraser/MainForm.cs
r2485 r2506 28 28 using System.Text; 29 29 using System.Windows.Forms; 30 using Eraser.Util; 31 using Eraser.Manager; 32 using Eraser.Properties; 30 33 31 using System.IO; 34 32 using System.Diagnostics; 35 33 using System.Reflection; 36 34 using System.Runtime.Serialization; 35 36 using Eraser.Util; 37 using Eraser.Manager; 38 using Eraser.Plugins; 39 using Eraser.Plugins.Registrars; 40 using Eraser.Plugins.ExtensionPoints; 41 using Eraser.Properties; 37 42 38 43 namespace Eraser … … 56 61 Theming.ApplyTheme(this); 57 62 Theming.ApplyTheme(notificationMenu); 63 64 //We need to see if there are any tools to display 65 foreach (IClientTool tool in Host.Instance.ClientTools) 66 tool.RegisterTool(tbToolsMenu); 67 if (tbToolsMenu.Items.Count == 0) 68 { 69 //There are none, hide the menu 70 tbTools.Visible = false; 71 tbToolsDropDown.Visible = false; 72 } 58 73 59 74 //For every task we need to register the Task Started and Task Finished
Note: See TracChangeset
for help on using the changeset viewer.
