2
using System.Collections.Generic;
7
namespace TextEditorSWF.ExtensionModel
10
/// A user interface command.
12
[TypeExtensionPoint (NodeType=typeof(CommandExtensionNode), ExtensionAttributeType=typeof(CommandAttribute))]
13
public interface ICommand
16
/// Executes the command
22
/// Attribute which can be used to declare new commands
24
public class CommandAttribute : CustomExtensionAttribute
26
public CommandAttribute ()
30
public CommandAttribute ([NodeAttribute ("Label")] string label)
36
/// Resource that holds the command icon
39
public string IconResource { get; set; }
42
/// File that holds the command icon
45
public string IconFile { get; set; }
48
/// Label of the command
51
public string Label { get; set; }