Changeset 2508
- Timestamp:
- 3/14/2012 5:02:35 AM (15 months ago)
- Location:
- branches/eraser6/pluginsRewrite
- Files:
-
- 5 edited
-
Eraser.DefaultPlugins/ErasureTargets/FileErasureTargetConfigurer.cs (modified) (1 diff)
-
Eraser.DefaultPlugins/ErasureTargets/FolderErasureTargetConfigurer.cs (modified) (1 diff)
-
Eraser.DefaultPlugins/ErasureTargets/RecycleBinErasureTargetConfigurer.cs (modified) (1 diff)
-
Eraser.Plugins/IConfigurer.cs (modified) (1 diff)
-
Eraser/TaskDragDropHelper.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/pluginsRewrite/Eraser.DefaultPlugins/ErasureTargets/FileErasureTargetConfigurer.cs
r2458 r2508 39 39 { 40 40 public partial class FileErasureTargetConfigurer : UserControl, 41 IErasureTargetConfigurer, IDragAndDropConfigurer <IErasureTarget>41 IErasureTargetConfigurer, IDragAndDropConfigurerFactory<IErasureTarget> 42 42 { 43 43 public FileErasureTargetConfigurer() -
branches/eraser6/pluginsRewrite/Eraser.DefaultPlugins/ErasureTargets/FolderErasureTargetConfigurer.cs
r2451 r2508 39 39 { 40 40 public partial class FolderErasureTargetConfigurer : UserControl, 41 IErasureTargetConfigurer, IDragAndDropConfigurer <IErasureTarget>41 IErasureTargetConfigurer, IDragAndDropConfigurerFactory<IErasureTarget> 42 42 { 43 43 public FolderErasureTargetConfigurer() -
branches/eraser6/pluginsRewrite/Eraser.DefaultPlugins/ErasureTargets/RecycleBinErasureTargetConfigurer.cs
r2451 r2508 34 34 { 35 35 class RecycleBinErasureTargetConfigurer : IErasureTargetConfigurer, 36 IDragAndDropConfigurer <IErasureTarget>36 IDragAndDropConfigurerFactory<IErasureTarget> 37 37 { 38 38 #region IConfigurer<ErasureTarget> Members -
branches/eraser6/pluginsRewrite/Eraser.Plugins/IConfigurer.cs
r2451 r2508 73 73 74 74 /// <summary> 75 /// Represents an object which is able to configure a given instanceof76 /// <typeparamref name="T"/> from a Drag-and-Drop operation.75 /// Represents an object which is able to transform the contents of 76 /// a drag-and-drop operation into program logic. 77 77 /// </summary> 78 78 /// <typeparam name="T">The type to configure</typeparam> 79 public interface IDragAndDropConfigurer <T> : IConfigurer<T>79 public interface IDragAndDropConfigurerFactory<T> 80 80 { 81 81 /// <summary> 82 /// Sets the configuration of the current configurer from the provided83 /// Drag-and-Drop event argument.82 /// Retrieves the transformed collection of objects based on the 83 /// contents of the provided drag-and-drop operation. 84 84 /// </summary> 85 85 /// <param name="e">The event argument.</param> -
branches/eraser6/pluginsRewrite/Eraser/TaskDragDropHelper.cs
r2451 r2508 89 89 { 90 90 //Skip targets not supporting IDragAndDropConfigurer 91 if (!(target.Configurer is IDragAndDropConfigurer <IErasureTarget>))91 if (!(target.Configurer is IDragAndDropConfigurerFactory<IErasureTarget>)) 92 92 continue; 93 93 94 IDragAndDropConfigurer <IErasureTarget> configurer =95 (IDragAndDropConfigurer <IErasureTarget>)target.Configurer;94 IDragAndDropConfigurerFactory<IErasureTarget> configurer = 95 (IDragAndDropConfigurerFactory<IErasureTarget>)target.Configurer; 96 96 foreach (IErasureTarget newTarget in configurer.ProcessArgument(e)) 97 97 result.Add(newTarget);
Note: See TracChangeset
for help on using the changeset viewer.
