Changeset 2039


Ignore:
Timestamp:
5/4/2010 1:32:44 AM (4 years ago)
Author:
lowjoel
Message:

Name the files after the class contained therein.

Location:
trunk/eraser/Eraser.DefaultPlugins
Files:
10 edited
5 moved

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/Eraser.DefaultPlugins.csproj

    r2038 r2039  
    8383    <Compile Include="ErasureMethods\VSITR.cs" /> 
    8484    <Compile Include="ErasureMethods\RCMP_TSSIT_OPS_II.cs" /> 
    85     <Compile Include="ErasureTargets\File.cs" /> 
    86     <Compile Include="ErasureTargets\FileSystemObject.cs" /> 
     85    <Compile Include="ErasureTargets\FileErasureTarget.cs" /> 
     86    <Compile Include="ErasureTargets\FileSystemObjectErasureTarget.cs" /> 
    8787    <Compile Include="ErasureTargets\FileErasureTargetSettings.cs"> 
    8888      <SubType>UserControl</SubType> 
     
    9191      <DependentUpon>FileErasureTargetSettings.cs</DependentUpon> 
    9292    </Compile> 
    93     <Compile Include="ErasureTargets\Folder.cs" /> 
     93    <Compile Include="ErasureTargets\FolderErasureTarget.cs" /> 
    9494    <Compile Include="ErasureTargets\FolderErasureTargetSettings.cs"> 
    9595      <SubType>UserControl</SubType> 
     
    9898      <DependentUpon>FolderErasureTargetSettings.cs</DependentUpon> 
    9999    </Compile> 
    100     <Compile Include="ErasureTargets\RecycleBin.cs" /> 
    101     <Compile Include="ErasureTargets\UnusedSpace.cs" /> 
     100    <Compile Include="ErasureTargets\RecycleBinErasureTarget.cs" /> 
     101    <Compile Include="ErasureTargets\UnusedSpaceErasureTarget.cs" /> 
    102102    <Compile Include="ErasureTargets\UnusedSpaceErasureTargetSettings.cs"> 
    103103      <SubType>UserControl</SubType> 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FileErasureTarget.cs

    r2038 r2039  
    3636    [Serializable] 
    3737    [Guid("0D741505-E1C4-400d-8470-598AF35E174D")] 
    38     public class FileTarget : FileSystemObjectTarget 
     38    public class FileErasureTarget : FileSystemObjectErasureTarget 
    3939    { 
    4040        #region Serialization code 
    41         protected FileTarget(SerializationInfo info, StreamingContext context) 
     41        protected FileErasureTarget(SerializationInfo info, StreamingContext context) 
    4242            : base(info, context) 
    4343        { 
     
    4848        /// Constructor. 
    4949        /// </summary> 
    50         public FileTarget() 
     50        public FileErasureTarget() 
    5151        { 
    5252        } 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FileErasureTargetSettings.cs

    r2036 r2039  
    4545        public void LoadFrom(ErasureTarget target) 
    4646        { 
    47             FileTarget file = target as FileTarget; 
     47            FileErasureTarget file = target as FileErasureTarget; 
    4848            if (file == null) 
    4949                throw new ArgumentException("The provided erasure target type is not " + 
     
    5555        public bool SaveTo(ErasureTarget target) 
    5656        { 
    57             FileTarget file = target as FileTarget; 
     57            FileErasureTarget file = target as FileErasureTarget; 
    5858            if (file == null) 
    5959                throw new ArgumentException("The provided erasure target type is not " + 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FileSystemObjectErasureTarget.cs

    r2038 r2039  
    4040    /// </summary> 
    4141    [Serializable] 
    42     public abstract class FileSystemObjectTarget : ErasureTarget 
     42    public abstract class FileSystemObjectErasureTarget : ErasureTarget 
    4343    { 
    4444        #region Serialization code 
    45         protected FileSystemObjectTarget(SerializationInfo info, StreamingContext context) 
     45        protected FileSystemObjectErasureTarget(SerializationInfo info, StreamingContext context) 
    4646            : base(info, context) 
    4747        { 
     
    6060        /// Constructor. 
    6161        /// </summary> 
    62         protected FileSystemObjectTarget() 
     62        protected FileSystemObjectErasureTarget() 
    6363            : base() 
    6464        { 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FolderErasureTarget.cs

    r2038 r2039  
    4141    [Serializable] 
    4242    [Guid("F50B0A44-3AB1-4cab-B81E-1713AC3D28C9")] 
    43     public class FolderTarget : FileSystemObjectTarget 
     43    public class FolderErasureTarget : FileSystemObjectErasureTarget 
    4444    { 
    4545        #region Serialization code 
    46         protected FolderTarget(SerializationInfo info, StreamingContext context) 
     46        protected FolderErasureTarget(SerializationInfo info, StreamingContext context) 
    4747            : base(info, context) 
    4848        { 
     
    6565        /// Constructor. 
    6666        /// </summary> 
    67         public FolderTarget() 
     67        public FolderErasureTarget() 
    6868        { 
    6969            IncludeMask = string.Empty; 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FolderErasureTargetSettings.cs

    r2036 r2039  
    4545        public void LoadFrom(ErasureTarget target) 
    4646        { 
    47             FolderTarget folder = target as FolderTarget; 
     47            FolderErasureTarget folder = target as FolderErasureTarget; 
    4848            if (folder == null) 
    4949                throw new ArgumentException("The provided erasure target type is not " + 
     
    5858        public bool SaveTo(ErasureTarget target) 
    5959        { 
    60             FolderTarget folder = target as FolderTarget; 
     60            FolderErasureTarget folder = target as FolderErasureTarget; 
    6161            if (folder == null) 
    6262                throw new ArgumentException("The provided erasure target type is not " + 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/RecycleBinErasureTarget.cs

    r2038 r2039  
    3636    [Serializable] 
    3737    [Guid("A1FA7354-0258-4903-88E9-0D31FC5F8D51")] 
    38     public class RecycleBinTarget : FileSystemObjectTarget 
     38    public class RecycleBinErasureTarget : FileSystemObjectErasureTarget 
    3939    { 
    4040        #region Serialization code 
    41         protected RecycleBinTarget(SerializationInfo info, StreamingContext context) 
     41        protected RecycleBinErasureTarget(SerializationInfo info, StreamingContext context) 
    4242            : base(info, context) 
    4343        { 
     
    4545        #endregion 
    4646 
    47         public RecycleBinTarget() 
     47        public RecycleBinErasureTarget() 
    4848        { 
    4949        } 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/UnusedSpaceErasureTarget.cs

    r2038 r2039  
    4141    [Serializable] 
    4242    [Guid("A627BEC4-CAFC-46ce-92AD-209157C3177A")] 
    43     public class UnusedSpaceTarget : ErasureTarget 
     43    public class UnusedSpaceErasureTarget : ErasureTarget 
    4444    { 
    4545        #region Serialization code 
    46         protected UnusedSpaceTarget(SerializationInfo info, StreamingContext context) 
     46        protected UnusedSpaceErasureTarget(SerializationInfo info, StreamingContext context) 
    4747            : base(info, context) 
    4848        { 
     
    6363        /// Constructor. 
    6464        /// </summary> 
    65         public UnusedSpaceTarget() 
     65        public UnusedSpaceErasureTarget() 
    6666            : base() 
    6767        { 
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/UnusedSpaceErasureTargetSettings.cs

    r2036 r2039  
    9999        public void LoadFrom(ErasureTarget target) 
    100100        { 
    101             UnusedSpaceTarget unused = target as UnusedSpaceTarget; 
     101            UnusedSpaceErasureTarget unused = target as UnusedSpaceErasureTarget; 
    102102            if (unused == null) 
    103103                throw new ArgumentException("The provided erasure target type is not " + 
     
    112112        public bool SaveTo(ErasureTarget target) 
    113113        { 
    114             UnusedSpaceTarget unused = target as UnusedSpaceTarget; 
     114            UnusedSpaceErasureTarget unused = target as UnusedSpaceErasureTarget; 
    115115            if (unused == null) 
    116116                throw new ArgumentException("The provided erasure target type is not " + 
  • trunk/eraser/Eraser.DefaultPlugins/Plugin.cs

    r2036 r2039  
    6161            ManagerLibrary.Instance.FileSystemRegistrar.Add(new NtfsFileSystem()); 
    6262 
    63             ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new FileTarget()); 
    64             ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new FolderTarget()); 
    65             ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new RecycleBinTarget()); 
    66             ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new UnusedSpaceTarget()); 
     63            ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new FileErasureTarget()); 
     64            ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new FolderErasureTarget()); 
     65            ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new RecycleBinErasureTarget()); 
     66            ManagerLibrary.Instance.ErasureTargetRegistrar.Add(new UnusedSpaceErasureTarget()); 
    6767        } 
    6868 
  • trunk/eraser/Eraser.DefaultPlugins/Strings.en.resx

    r2036 r2039  
    193193    <value>{0} did not have its cluster tips erased because of the following error: {1}</value> 
    194194  </data> 
     195  <data name="Invalid file path" xml:space="preserve"> 
     196    <value>Invalid file path</value> 
     197  </data> 
    195198  <data name="The file {0} was not erased as the file does not exist." xml:space="preserve"> 
    196199    <value>The file {0} was not erased as the file does not exist.</value> 
     
    205208    <value>The task was cancelled.</value> 
    206209  </data> 
     210  <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
     211    <value>Could not erase files and subfolders in {0} because {1}</value> 
     212  </data> 
     213  <data name="Removing folders..." xml:space="preserve"> 
     214    <value>Removing folders...</value> 
     215  </data> 
     216  <data name="Invalid folder path" xml:space="preserve"> 
     217    <value>Invalid folder path</value> 
     218  </data> 
     219  <data name="The path you selected is invalid." xml:space="preserve"> 
     220    <value>The path you selected is invalid.</value> 
     221  </data> 
     222  <data name="Recycle Bin" xml:space="preserve"> 
     223    <value>Recycle Bin</value> 
     224  </data> 
     225  <data name="Emptying recycle bin..." xml:space="preserve"> 
     226    <value>Emptying recycle bin...</value> 
     227  </data> 
    207228  <data name="Unused disk space ({0})" xml:space="preserve"> 
    208229    <value>Unused disk space ({0})</value> 
     
    238259    <value>Erasing unused directory structures...</value> 
    239260  </data> 
    240   <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
    241     <value>Could not erase files and subfolders in {0} because {1}</value> 
    242   </data> 
    243   <data name="Removing folders..." xml:space="preserve"> 
    244     <value>Removing folders...</value> 
    245   </data> 
    246   <data name="Recycle Bin" xml:space="preserve"> 
    247     <value>Recycle Bin</value> 
    248   </data> 
    249   <data name="Emptying recycle bin..." xml:space="preserve"> 
    250     <value>Emptying recycle bin...</value> 
    251   </data> 
    252   <data name="Invalid file path" xml:space="preserve"> 
    253     <value>Invalid file path</value> 
    254   </data> 
    255   <data name="Invalid folder path" xml:space="preserve"> 
    256     <value>Invalid folder path</value> 
    257   </data> 
    258   <data name="The path you selected is invalid." xml:space="preserve"> 
    259     <value>The path you selected is invalid.</value> 
    260   </data> 
    261261  <data name="The custom erasure method can only comprise passes containing constant or random passes" xml:space="preserve"> 
    262262    <value>The custom erasure method can only comprise passes containing constant or random passes</value> 
  • trunk/eraser/Eraser.DefaultPlugins/Strings.it.resx

    r2036 r2039  
    193193    <value>Non sono stati puliti i cluster tips di {0} per il seguente errore: {1}</value> 
    194194  </data> 
     195  <data name="Invalid file path" xml:space="preserve"> 
     196    <value>(Untranslated)</value> 
     197  </data> 
    195198  <data name="The file {0} was not erased as the file does not exist." xml:space="preserve"> 
    196199    <value>(Untranslated)</value> 
     
    205208    <value>(Untranslated)</value> 
    206209  </data> 
     210  <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
     211    <value>(Untranslated)</value> 
     212  </data> 
     213  <data name="Removing folders..." xml:space="preserve"> 
     214    <value>(Untranslated)</value> 
     215  </data> 
     216  <data name="Invalid folder path" xml:space="preserve"> 
     217    <value>(Untranslated)</value> 
     218  </data> 
     219  <data name="The path you selected is invalid." xml:space="preserve"> 
     220    <value>(Untranslated)</value> 
     221  </data> 
     222  <data name="Recycle Bin" xml:space="preserve"> 
     223    <value>(Untranslated)</value> 
     224  </data> 
     225  <data name="Emptying recycle bin..." xml:space="preserve"> 
     226    <value>(Untranslated)</value> 
     227  </data> 
    207228  <data name="Unused disk space ({0})" xml:space="preserve"> 
    208229    <value>(Untranslated)</value> 
     
    236257  </data> 
    237258  <data name="Erasing unused directory structures..." xml:space="preserve"> 
    238     <value>(Untranslated)</value> 
    239   </data> 
    240   <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
    241     <value>(Untranslated)</value> 
    242   </data> 
    243   <data name="Removing folders..." xml:space="preserve"> 
    244     <value>(Untranslated)</value> 
    245   </data> 
    246   <data name="Recycle Bin" xml:space="preserve"> 
    247     <value>(Untranslated)</value> 
    248   </data> 
    249   <data name="Emptying recycle bin..." xml:space="preserve"> 
    250     <value>(Untranslated)</value> 
    251   </data> 
    252   <data name="Invalid file path" xml:space="preserve"> 
    253     <value>(Untranslated)</value> 
    254   </data> 
    255   <data name="Invalid folder path" xml:space="preserve"> 
    256     <value>(Untranslated)</value> 
    257   </data> 
    258   <data name="The path you selected is invalid." xml:space="preserve"> 
    259259    <value>(Untranslated)</value> 
    260260  </data> 
  • trunk/eraser/Eraser.DefaultPlugins/Strings.nl.resx

    r2036 r2039  
    193193    <value>(Untranslated)</value> 
    194194  </data> 
     195  <data name="Invalid file path" xml:space="preserve"> 
     196    <value>(Untranslated)</value> 
     197  </data> 
    195198  <data name="The file {0} was not erased as the file does not exist." xml:space="preserve"> 
    196199    <value>(Untranslated)</value> 
     
    205208    <value>(Untranslated)</value> 
    206209  </data> 
     210  <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
     211    <value>(Untranslated)</value> 
     212  </data> 
     213  <data name="Removing folders..." xml:space="preserve"> 
     214    <value>(Untranslated)</value> 
     215  </data> 
     216  <data name="Invalid folder path" xml:space="preserve"> 
     217    <value>(Untranslated)</value> 
     218  </data> 
     219  <data name="The path you selected is invalid." xml:space="preserve"> 
     220    <value>(Untranslated)</value> 
     221  </data> 
     222  <data name="Recycle Bin" xml:space="preserve"> 
     223    <value>(Untranslated)</value> 
     224  </data> 
     225  <data name="Emptying recycle bin..." xml:space="preserve"> 
     226    <value>(Untranslated)</value> 
     227  </data> 
    207228  <data name="Unused disk space ({0})" xml:space="preserve"> 
    208229    <value>(Untranslated)</value> 
     
    238259    <value>(Untranslated)</value> 
    239260  </data> 
    240   <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
    241     <value>(Untranslated)</value> 
    242   </data> 
    243   <data name="Removing folders..." xml:space="preserve"> 
    244     <value>(Untranslated)</value> 
    245   </data> 
    246   <data name="Recycle Bin" xml:space="preserve"> 
    247     <value>(Untranslated)</value> 
    248   </data> 
    249   <data name="Emptying recycle bin..." xml:space="preserve"> 
    250     <value>(Untranslated)</value> 
    251   </data> 
    252   <data name="Invalid file path" xml:space="preserve"> 
    253     <value>(Untranslated)</value> 
    254   </data> 
    255   <data name="Invalid folder path" xml:space="preserve"> 
    256     <value>(Untranslated)</value> 
    257   </data> 
    258   <data name="The path you selected is invalid." xml:space="preserve"> 
    259     <value>(Untranslated)</value> 
    260   </data> 
    261261  <data name="The custom erasure method can only comprise passes containing constant or random passes" xml:space="preserve"> 
    262262    <value>(Untranslated)</value> 
  • trunk/eraser/Eraser.DefaultPlugins/Strings.pl.resx

    r2036 r2039  
    193193    <value>{0} nie ma wymazanych resztek klastrów z powodu błędu: {1}</value> 
    194194  </data> 
     195  <data name="Invalid file path" xml:space="preserve"> 
     196    <value>(Untranslated)</value> 
     197  </data> 
    195198  <data name="The file {0} was not erased as the file does not exist." xml:space="preserve"> 
    196199    <value>(Untranslated)</value> 
     
    205208    <value>(Untranslated)</value> 
    206209  </data> 
     210  <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
     211    <value>(Untranslated)</value> 
     212  </data> 
     213  <data name="Removing folders..." xml:space="preserve"> 
     214    <value>(Untranslated)</value> 
     215  </data> 
     216  <data name="Invalid folder path" xml:space="preserve"> 
     217    <value>(Untranslated)</value> 
     218  </data> 
     219  <data name="The path you selected is invalid." xml:space="preserve"> 
     220    <value>(Untranslated)</value> 
     221  </data> 
     222  <data name="Recycle Bin" xml:space="preserve"> 
     223    <value>(Untranslated)</value> 
     224  </data> 
     225  <data name="Emptying recycle bin..." xml:space="preserve"> 
     226    <value>(Untranslated)</value> 
     227  </data> 
    207228  <data name="Unused disk space ({0})" xml:space="preserve"> 
    208229    <value>(Untranslated)</value> 
     
    236257  </data> 
    237258  <data name="Erasing unused directory structures..." xml:space="preserve"> 
    238     <value>(Untranslated)</value> 
    239   </data> 
    240   <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
    241     <value>(Untranslated)</value> 
    242   </data> 
    243   <data name="Removing folders..." xml:space="preserve"> 
    244     <value>(Untranslated)</value> 
    245   </data> 
    246   <data name="Recycle Bin" xml:space="preserve"> 
    247     <value>(Untranslated)</value> 
    248   </data> 
    249   <data name="Emptying recycle bin..." xml:space="preserve"> 
    250     <value>(Untranslated)</value> 
    251   </data> 
    252   <data name="Invalid file path" xml:space="preserve"> 
    253     <value>(Untranslated)</value> 
    254   </data> 
    255   <data name="Invalid folder path" xml:space="preserve"> 
    256     <value>(Untranslated)</value> 
    257   </data> 
    258   <data name="The path you selected is invalid." xml:space="preserve"> 
    259259    <value>(Untranslated)</value> 
    260260  </data> 
  • trunk/eraser/Eraser.DefaultPlugins/Strings.resx

    r2036 r2039  
    193193    <value>{0} did not have its cluster tips erased because of the following error: {1}</value> 
    194194  </data> 
     195  <data name="Invalid file path" xml:space="preserve"> 
     196    <value>Invalid file path</value> 
     197  </data> 
    195198  <data name="The file {0} was not erased as the file does not exist." xml:space="preserve"> 
    196199    <value>The file {0} was not erased as the file does not exist.</value> 
     
    205208    <value>The task was cancelled.</value> 
    206209  </data> 
     210  <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
     211    <value>Could not erase files and subfolders in {0} because {1}</value> 
     212  </data> 
     213  <data name="Removing folders..." xml:space="preserve"> 
     214    <value>Removing folders...</value> 
     215  </data> 
     216  <data name="Invalid folder path" xml:space="preserve"> 
     217    <value>Invalid folder path</value> 
     218  </data> 
     219  <data name="The path you selected is invalid." xml:space="preserve"> 
     220    <value>The path you selected is invalid.</value> 
     221  </data> 
     222  <data name="Recycle Bin" xml:space="preserve"> 
     223    <value>Recycle Bin</value> 
     224  </data> 
     225  <data name="Emptying recycle bin..." xml:space="preserve"> 
     226    <value>Emptying recycle bin...</value> 
     227  </data> 
    207228  <data name="Unused disk space ({0})" xml:space="preserve"> 
    208229    <value>Unused disk space ({0})</value> 
     
    238259    <value>Erasing unused directory structures...</value> 
    239260  </data> 
    240   <data name="Could not erase files and subfolders in {0} because {1}" xml:space="preserve"> 
    241     <value>Could not erase files and subfolders in {0} because {1}</value> 
    242   </data> 
    243   <data name="Removing folders..." xml:space="preserve"> 
    244     <value>Removing folders...</value> 
    245   </data> 
    246   <data name="Recycle Bin" xml:space="preserve"> 
    247     <value>Recycle Bin</value> 
    248   </data> 
    249   <data name="Emptying recycle bin..." xml:space="preserve"> 
    250     <value>Emptying recycle bin...</value> 
    251   </data> 
    252   <data name="Invalid file path" xml:space="preserve"> 
    253     <value>Invalid file path</value> 
    254   </data> 
    255   <data name="Invalid folder path" xml:space="preserve"> 
    256     <value>Invalid folder path</value> 
    257   </data> 
    258   <data name="The path you selected is invalid." xml:space="preserve"> 
    259     <value>The path you selected is invalid.</value> 
    260   </data> 
    261261  <data name="The custom erasure method can only comprise passes containing constant or random passes" xml:space="preserve"> 
    262262    <value>The custom erasure method can only comprise passes containing constant or random passes</value> 
Note: See TracChangeset for help on using the changeset viewer.