41
42
constructor(actual: IUndoRedoElement, resourceLabel: string, strResource: string, groupId: number, groupOrder: number, sourceId: number, sourceOrder: number) {
44
>
this.label = actual.label;
45
>
this.confirmBeforeUndo = actual.confirmBeforeUndo || false;
46
>
this.resourceLabel = resourceLabel;
47
>
this.strResource = strResource;
48
>
this.resourceLabels = [this.resourceLabel];
49
>
this.strResources = [this.strResource];
50
>
this.groupId = groupId;
51
>
this.groupOrder = groupOrder;
52
>
this.sourceId = sourceId;
53
>
this.sourceOrder = sourceOrder;
54
>
this.isValid = true;
55
>
}
56
57
public setValid(isValid: boolean): void {