UpdateSurfacesCommand
Classes
UpdateSurfacesCommand
Extends
Constructors
Constructor
new UpdateSurfacesCommand(
productHandler,
commandManager,
viewer,
variableItemsHelper,
userChangesService,
historyArgs,
args): UpdateSurfacesCommand;
Parameters
| Parameter | Type |
|---|---|
productHandler | ProductHandler |
commandManager | CommandManager |
viewer | Viewer |
variableItemsHelper | VariableItemHelper |
userChangesService | UserChangesService |
historyArgs | IHistoryArgs |
args | IUpdateSurfaceOptions<Product> |
Returns
Overrides
BaseProductCommand.constructor
Methods
execute()
execute(): Promise<any>;
Returns
Promise<any>
Overrides
redo()
redo(): Promise<void>;
Returns
Promise<void>
Inherited from
undo()
undo(): Promise<void>;
Returns
Promise<void>
Inherited from
updateSurface()
updateSurface(
oldSurface,
newSurface,
options): void;
Parameters
| Parameter | Type |
|---|---|
oldSurface | Surface |
newSurface | Surface |
options | ISetPrintAreasOptions |
Returns
void
updateSurfaces()
updateSurfaces(params): Promise<void>;
Parameters
| Parameter | Type |
|---|---|
params | IUpdateSurfaceOptions<Product> |
Returns
Promise<void>