Class PasteDrawingsOperation
java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<Void>
com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
com._1c.g5.v8.dt.moxel.ui.operations.NotifyingOperation
com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperation
com._1c.g5.v8.dt.moxel.ui.operations.PasteDrawingsOperation
- All Implemented Interfaces:
IBmPostUndoRedoHandler,IBmTask<Void>
Operation of pasting selected drawings
-
Field Summary
FieldsFields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperation
positionHolder, selectionFields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
sheet -
Constructor Summary
ConstructorsConstructorDescriptionPasteDrawingsOperation(String label, SheetAccessor sheet, Selection selection, List<Drawing> selectedDrawings, PositionHolder positionholder, SpreadsheetDocument document, MoxelDescriptor description) Creates new instance ofPasteDrawingsOperation -
Method Summary
Modifier and TypeMethodDescriptionvoidSubclasses override this method to provide post-redo logic.voidSubclasses override this method to provide post-undo logic.voidВыполнить действие.Methods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperation
execute, postExecute, postRedo, postUndoMethods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.NotifyingOperation
isReadOnly, onExecute, onRedo, onUndoMethods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
-
Field Details
-
STR_PROPERTIES_SHIFT
public static final int STR_PROPERTIES_SHIFT- See Also:
-
-
Constructor Details
-
PasteDrawingsOperation
public PasteDrawingsOperation(String label, SheetAccessor sheet, Selection selection, List<Drawing> selectedDrawings, PositionHolder positionholder, SpreadsheetDocument document, MoxelDescriptor description) Creates new instance ofPasteDrawingsOperation- Parameters:
label- operation labelundoContext- undo contextsheet-SheetAccessorselection-SelectionselectedDrawings- list of selected drawingschangeContentOrFormat- need change content or formatpositionholder-PositionHolderdocument-SpreadsheetDocumentto be pasteddescription-MoxelDescriptor
-
-
Method Details
-
performAction
public void performAction()Description copied from class:ChangeCellsOperationВыполнить действие.- Specified by:
performActionin classChangeCellsOperation
-
onUndoInternal
public void onUndoInternal()Description copied from class:ChangeCellsOperationSubclasses override this method to provide post-undo logic.- Overrides:
onUndoInternalin classChangeCellsOperation
-
onRedoInternal
public void onRedoInternal()Description copied from class:ChangeCellsOperationSubclasses override this method to provide post-redo logic.- Overrides:
onRedoInternalin classChangeCellsOperation
-