Added ProjectTask
This commit is contained in:
parent
3366d5468a
commit
dc78de5bc9
32
CSharp/Plugins/UniversalEditor.Essential/ProjectTask.cs
Normal file
32
CSharp/Plugins/UniversalEditor.Essential/ProjectTask.cs
Normal 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>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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; } }
|
||||
}
|
||||
|
||||
@ -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" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user