Index: src/Common/DelftTools.Shell.Core/ApplicationPlugin.cs
===================================================================
diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r6b59ea277522a35859f061196c54d808249c4fb0
--- src/Common/DelftTools.Shell.Core/ApplicationPlugin.cs (.../ApplicationPlugin.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9)
+++ src/Common/DelftTools.Shell.Core/ApplicationPlugin.cs (.../ApplicationPlugin.cs) (revision 6b59ea277522a35859f061196c54d808249c4fb0)
@@ -6,29 +6,29 @@
namespace DelftTools.Shell.Core
{
///
- /// Provides default functionality making it easier to implement IPlugin.
+ /// Provides default functionality making it easier to implement .
/// Handles Active status in activate/deactivate.
///
public abstract class ApplicationPlugin : IPlugin
{
///
/// Gets the name of the plugin.
- /// The name.
+ ///
public abstract string Name { get; }
///
- /// Gets the name of the plugin as displayed in the Gui.
- /// The name.
+ /// Gets the name of the plugin as displayed in the user interface.
+ ///
public abstract string DisplayName { get; }
///
- /// Gets the description.
- /// The description.
+ /// Gets the description of the plugin.
+ ///
public abstract string Description { get; }
///
/// Gets the version of the plugin.
- /// The version.
+ ///
public abstract string Version { get; }
///
Index: src/Common/DelftTools.Shell.Core/DelftTools.Shell.Core.csproj
===================================================================
diff -u -r8702d012630646100a38f3e7f3e8ea3dd9749718 -r6b59ea277522a35859f061196c54d808249c4fb0
--- src/Common/DelftTools.Shell.Core/DelftTools.Shell.Core.csproj (.../DelftTools.Shell.Core.csproj) (revision 8702d012630646100a38f3e7f3e8ea3dd9749718)
+++ src/Common/DelftTools.Shell.Core/DelftTools.Shell.Core.csproj (.../DelftTools.Shell.Core.csproj) (revision 6b59ea277522a35859f061196c54d808249c4fb0)
@@ -146,7 +146,6 @@
-
@@ -163,7 +162,6 @@
-
Index: src/Common/DelftTools.Shell.Core/Extensions/CompositeActivityExtensions.cs
===================================================================
diff -u -r8702d012630646100a38f3e7f3e8ea3dd9749718 -r6b59ea277522a35859f061196c54d808249c4fb0
--- src/Common/DelftTools.Shell.Core/Extensions/CompositeActivityExtensions.cs (.../CompositeActivityExtensions.cs) (revision 8702d012630646100a38f3e7f3e8ea3dd9749718)
+++ src/Common/DelftTools.Shell.Core/Extensions/CompositeActivityExtensions.cs (.../CompositeActivityExtensions.cs) (revision 6b59ea277522a35859f061196c54d808249c4fb0)
@@ -3,16 +3,25 @@
namespace DelftTools.Shell.Core.Extensions
{
+ ///
+ /// Extension methods for .
+ ///
public static class CompositeActivityExtensions
{
- public static IEnumerable GetAllActivitiesRecursive(this ICompositeActivity compositeModel) where T : IActivity
+ ///
+ /// Gets all activities recursively matching a given type.
+ ///
+ /// The type of activity to be matched for.
+ /// The composite activity.
+ /// An iterator over all activities implementing/inheriting .
+ public static IEnumerable GetAllActivitiesRecursive(this ICompositeActivity compositeActivity) where T : IActivity
{
- if (compositeModel is T)
+ if (compositeActivity is T)
{
- yield return (T) compositeModel;
+ yield return (T) compositeActivity;
}
- foreach (var subActivity in compositeModel.Activities)
+ foreach (var subActivity in compositeActivity.Activities)
{
var compActivity = subActivity as ICompositeActivity;
if (compActivity != null)
@@ -31,31 +40,5 @@
}
}
}
-
- private static ICompositeActivity GetParentActivity(IActivity workflow, IActivity targetActivity)
- {
- var compositeWorkflow = workflow as ICompositeActivity;
- if (compositeWorkflow == null)
- {
- return null;
- }
-
- foreach (var a in compositeWorkflow.Activities)
- {
- if (a == targetActivity)
- {
- return compositeWorkflow;
- }
-
- var parent = GetParentActivity(a, targetActivity);
-
- if (parent != null)
- {
- return parent;
- }
- }
-
- return null;
- }
}
}
\ No newline at end of file
Fisheye: Tag 6b59ea277522a35859f061196c54d808249c4fb0 refers to a dead (removed) revision in file `src/Common/DelftTools.Shell.Core/Extensions/FilePathHandler.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 6b59ea277522a35859f061196c54d808249c4fb0 refers to a dead (removed) revision in file `src/Common/DelftTools.Shell.Core/Extensions/ProjectItemExtensions.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: src/Common/DelftTools.Shell.Core/Project.cs
===================================================================
diff -u -r5f9327caaaca2d654839bcdcdcf70529e8263d17 -r6b59ea277522a35859f061196c54d808249c4fb0
--- src/Common/DelftTools.Shell.Core/Project.cs (.../Project.cs) (revision 5f9327caaaca2d654839bcdcdcf70529e8263d17)
+++ src/Common/DelftTools.Shell.Core/Project.cs (.../Project.cs) (revision 6b59ea277522a35859f061196c54d808249c4fb0)
@@ -10,13 +10,6 @@
[Entity(FireOnCollectionChange = false)]
public class Project : IObservable
{
- private string name;
- private string description;
-
- private bool isChanged;
- private bool isTemporary;
- private bool isMigrated;
-
///
/// Creates instance of the Project.
///
@@ -25,33 +18,25 @@
}
///
- /// Creates instance of the Project using the supplied .
+ /// Creates instance of the project using the supplied .
///
/// Readable name of the project.
public Project(string name)
{
- this.name = name;
+ Name = name;
Items = new EventedList