/** * Adds and executes the ChangeNodeValueCommand to historyBrowser. * * @param contextNode * The node whose nodeValue changed * @param newValue * The new node value */ public void setNodeValue(Node contextNode, String newValue) { historyBrowser.addCommand (createChangeNodeValueCommand(contextNode, newValue)); }
/** * Adds and executes the ChangeNodeValueCommand to historyBrowser. * * @param contextNode * The node whose nodeValue changed * @param newValue * The new node value */ public void setNodeValue(Node contextNode, String newValue) { historyBrowser.addCommand (createChangeNodeValueCommand(contextNode, newValue)); }