/// <summary>
 /// Add a command that will be added to every sub interface added to
 /// this manager. This must be done before any sub interfaces are added
 /// or else they will not have the command. This will not add commands
 /// to any existing interfaces.
 /// </summary>
 /// <param name="command"></param>
 public void addCommand(EditInterfaceCommand command)
 {
     if (!commandList.Contains(command))
     {
         commandList.AddLast(command);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Remove a command.
 /// </summary>
 /// <param name="command">The command to remove.</param>
 public void removeCommand(EditInterfaceCommand command)
 {
     commands.Remove(command);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Add a command.
 /// </summary>
 /// <param name="command">The command to add.</param>
 public void addCommand(EditInterfaceCommand command)
 {
     commands.AddLast(command);
 }