You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
643 B
26 lines
643 B
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/> |
|
// <version>$Revision: -1 $</version> |
|
// </file> |
|
|
|
using System; |
|
using ICSharpCode.Core; |
|
|
|
namespace ICSharpCode.XmlEditor |
|
{ |
|
/// <summary> |
|
/// Adds a new attribute to the XML Tree's attribute property grid. |
|
/// </summary> |
|
public class AddAttributeCommand : AbstractMenuCommand |
|
{ |
|
public override void Run() |
|
{ |
|
XmlTreeViewContainerControl view = Owner as XmlTreeViewContainerControl; |
|
if (view != null) { |
|
view.AddAttribute(); |
|
} |
|
} |
|
} |
|
}
|
|
|