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.
41 lines
937 B
41 lines
937 B
// <file> |
|
// <copyright see="prj:///doc/copyright.txt"/> |
|
// <license see="prj:///doc/license.txt"/> |
|
// <owner name="Georg Brandl" email="g.brandl@gmx.net"/> |
|
// <version>$Revision$</version> |
|
// </file> |
|
|
|
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); |
|
} |
|
}
|
|
|