C# Class ModernSteward.RadTreeViewGrammarManager

Show file Open project: ModernSteward/ModernSteward

Public Methods

Method Description
GetAllCommands ( RadTreeNode root, string text, List &result ) : void
LoadGrammarFromXML ( Stream stream ) : RadTreeView
LoadGrammarFromXML ( string filePath, RadTreeView &tree ) : void
MatchGrammarToPlugin ( string pathToXml, string aCommand ) : bool
SaveGrammarToXML ( RadTreeView tree, Stream stream ) : bool
SaveGrammarToXML ( RadTreeView tree, string filePath ) : bool

Method Details

GetAllCommands() public static method

public static GetAllCommands ( RadTreeNode root, string text, List &result ) : void
root RadTreeNode
text string
result List
return void

LoadGrammarFromXML() public static method

public static LoadGrammarFromXML ( Stream stream ) : RadTreeView
stream Stream
return RadTreeView

LoadGrammarFromXML() public static method

public static LoadGrammarFromXML ( string filePath, RadTreeView &tree ) : void
filePath string
tree RadTreeView
return void

MatchGrammarToPlugin() public static method

public static MatchGrammarToPlugin ( string pathToXml, string aCommand ) : bool
pathToXml string
aCommand string
return bool

SaveGrammarToXML() public static method

public static SaveGrammarToXML ( RadTreeView tree, Stream stream ) : bool
tree RadTreeView
stream Stream
return bool

SaveGrammarToXML() public static method

public static SaveGrammarToXML ( RadTreeView tree, string filePath ) : bool
tree RadTreeView
filePath string
return bool