Added ProjectTask

This commit is contained in:
Michael Becker 2014-12-04 22:07:59 -08:00
parent 3366d5468a
commit dc78de5bc9
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UniversalEditor
{
public class ProjectTask
{
public class ProjectTaskCollection
: System.Collections.ObjectModel.Collection<ProjectTask>
{
}
private ProjectTaskAction.ProjectTaskActionCollection mvarActions = new ProjectTaskAction.ProjectTaskActionCollection();
public ProjectTaskAction.ProjectTaskActionCollection Actions { get { return mvarActions; } }
private string mvarTitle = String.Empty;
public string Title { get { return mvarTitle; } set { mvarTitle = value; } }
}
public abstract class ProjectTaskAction
{
public abstract Guid ID { get; }
public class ProjectTaskActionCollection
: System.Collections.ObjectModel.Collection<ProjectTaskAction>
{
}
}
}

View File

@ -19,6 +19,12 @@ namespace UniversalEditor
private string mvarSmallIconImageFileName = null;
public string SmallIconImageFileName { get { return mvarSmallIconImageFileName; } set { mvarSmallIconImageFileName = value; } }
private ProjectTask.ProjectTaskCollection mvarTasks = new ProjectTask.ProjectTaskCollection();
/// <summary>
/// Gets the <see cref="ProjectTask" />s that are made available by this <see cref="ProjectType" />.
/// </summary>
public ProjectTask.ProjectTaskCollection Tasks { get { return mvarTasks; } }
private ProjectTypeItemShortcut.ProjectTypeItemShortcutCollection mvarItemShortcuts = new ProjectTypeItemShortcut.ProjectTypeItemShortcutCollection();
public ProjectTypeItemShortcut.ProjectTypeItemShortcutCollection ItemShortcuts { get { return mvarItemShortcuts; } }
}

View File

@ -107,6 +107,7 @@
<Compile Include="ObjectModels\Text\Formatted\Items\Container.cs" />
<Compile Include="ObjectModels\Text\Formatted\Items\Literal.cs" />
<Compile Include="ObjectModels\Text\Plain\PlainTextObjectModel.cs" />
<Compile Include="ProjectTask.cs" />
<Compile Include="ProjectType.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Template.cs" />