Class PasteCellsOperation
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.PasteCellsOperation
- All Implemented Interfaces:
IBmPostUndoRedoHandler,IBmTask<Void>
Operation of pasting spreadsheet from clipboard
-
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
ConstructorsConstructorDescriptionPasteCellsOperation(String label, SheetAccessor sheet, Selection selection, boolean changeContentOrFormat, SpreadsheetDocument document, MoxelDescriptor descriptor, PositionHolder positionHolder, IConfigurationProvider configurationProvider, boolean nested) Creates new instance ofPasteCellsOperationPasteCellsOperation(String label, SheetAccessor sheet, Selection selection, SpreadsheetDocument document, MoxelDescriptor descriptor, PositionHolder positionHolder, IConfigurationProvider configurationProvider, PasteSpecialOptions pasteOptions, boolean nested) Creates new instance ofPasteCellsOperation -
Method Summary
Modifier and TypeMethodDescriptionprotected voidSubclasses override this method to provide post-redo logic.protected 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
-
PasteCellsOperation
public PasteCellsOperation(String label, SheetAccessor sheet, Selection selection, boolean changeContentOrFormat, SpreadsheetDocument document, MoxelDescriptor descriptor, PositionHolder positionHolder, IConfigurationProvider configurationProvider, boolean nested) Creates new instance ofPasteCellsOperation- Parameters:
label- operation labelundoContext-IUndoContextsheet-SheetAccessorselection-SelectionchangeContentOrFormat- need change content or formatdocument-SpreadsheetDocumentto ba pasteddescriptor-MoxelDescriptorpositionHolder-PositionHolderconfigurationProvider- the configuration provider, cannot benull
-
PasteCellsOperation
public PasteCellsOperation(String label, SheetAccessor sheet, Selection selection, SpreadsheetDocument document, MoxelDescriptor descriptor, PositionHolder positionHolder, IConfigurationProvider configurationProvider, PasteSpecialOptions pasteOptions, boolean nested) Creates new instance ofPasteCellsOperation- Parameters:
label- operation labelundoContext-IUndoContextsheet-SheetAccessorselection-SelectionchangeContentOrFormat- need change content or formatdocument-SpreadsheetDocumentto ba pasteddescriptor-MoxelDescriptorpositionHolder-PositionHolderconfigurationProvider- the configuration provider, cannot benullpasteOptions-PasteSpecialOptions, must not benull
-
-
Method Details
-
performAction
public void performAction()Description copied from class:ChangeCellsOperationВыполнить действие.- Specified by:
performActionin classChangeCellsOperation
-
onUndoInternal
protected void onUndoInternal()Description copied from class:ChangeCellsOperationSubclasses override this method to provide post-undo logic.- Overrides:
onUndoInternalin classChangeCellsOperation
-
onRedoInternal
protected void onRedoInternal()Description copied from class:ChangeCellsOperationSubclasses override this method to provide post-redo logic.- Overrides:
onRedoInternalin classChangeCellsOperation
-