// // // // // $Revision$ // using System; using System.Windows.Forms; using System.Drawing; using System.Xml; using ICSharpCode.TextEditor.Document; using ICSharpCode.Core; namespace ICSharpCode.SharpDevelop.AddIns.HighlightingEditor.Nodes { abstract class AbstractNode : TreeNode { protected NodeOptionPanel panel; protected string ResNodeName(string resName) { try { return ResourceService.GetString("Dialog.HighlightingEditor.TreeView." + resName); } catch { return resName; } } public NodeOptionPanel OptionPanel { get { return panel; } } public abstract void UpdateNodeText(); // should be made abstract when implementing ToXml() public abstract void WriteXml(XmlWriter writer); } }