private void EditScriptContent() { var editWindow = new ScriptEditorWindow(dynamoViewModel); editWindow.Initialize(model.GUID, "ScriptContent", model.Script); bool? acceptChanged = editWindow.ShowDialog(); if (acceptChanged.HasValue && acceptChanged.Value) { model.ForceReExecuteOfNode = true; model.OnAstUpdated(); } }
private void EditScriptContent() { var editWindow = new ScriptEditorWindow(); editWindow.Initialize(GUID, "ScriptContent", Script); bool?acceptChanged = editWindow.ShowDialog(); if (acceptChanged.HasValue && acceptChanged.Value) { this.RequiresRecalc = true; } }
private void EditScriptContent() { var editWindow = new ScriptEditorWindow(dynamoViewModel); editWindow.Initialize(model.GUID, "ScriptContent", model.Script); bool?acceptChanged = editWindow.ShowDialog(); if (acceptChanged.HasValue && acceptChanged.Value) { // Mark node for update model.OnNodeModified(); } }