public VariableCondition(IEditorEnvironment editorEnvironment, string variableName = null, int variableValue = 0) : base(editorEnvironment) { _variableUndoRedoWrapper = CreateUndoRedoWrapper(nameof(Variable), variableName); _valueUndoRedoWrapper = CreateUndoRedoWrapper(nameof(Value), variableValue); UpdateHeader(); }
protected NodeProperty(IEditorEnvironment editorEnvironment, PropertyInfo propertyInfo, string propertyName = null) : base(editorEnvironment) { _valueWrapper = CreateUndoRedoWrapper <object>(nameof(Value)); Name = propertyName ?? propertyInfo.Name; PropertyInfo = propertyInfo; }
public ChoiceGroup(IEditorEnvironment editorEnvironment, string text = null) : base(editorEnvironment) { _textUndoRedoWrapper = CreateUndoRedoWrapper(nameof(Text), text); Choices = AddGroup <ChoiceItem>(nameof(Choices)); UpdateHeader(); }
public ChoiceItem(IEditorEnvironment editorEnvironment, string text = null) : base(editorEnvironment) { _textUndoRedoWrapper = CreateUndoRedoWrapper(nameof(Text), text); Conditions = AddGroup <DialogCondition>(nameof(Conditions)); Actions = AddGroup <DialogAction>(nameof(Actions)); UpdateHeader(); }
public ShowTextAction(IEditorEnvironment editorEnvironment, string text = null) : base(editorEnvironment) { _textUndoRedoWrapper = CreateUndoRedoWrapper(nameof(Text), text); UpdateHeader(); }