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>
 
 public class PasteCellsOperation extends ChangeCellsOperation Operation of pasting spreadsheet from clipboard
- 
- 
Field SummaryFields Modifier and Type Field Description static intSTR_PROPERTIES_SHIFT- 
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperationpositionHolder, selection
 - 
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseOperationsheet
 
- 
 - 
Constructor SummaryConstructors Constructor Description PasteCellsOperation(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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidonRedoInternal()Subclasses override this method to provide post-redo logic.protected voidonUndoInternal()Subclasses override this method to provide post-undo logic.voidperformAction()Выполнить действие.- 
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.ChangeCellsOperationexecute, postExecute, postRedo, postUndo
 - 
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.operations.NotifyingOperationisReadOnly, onExecute, onRedo, onUndo
 - 
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTaskgetId, getName, getServiceId
 
- 
 
- 
- 
- 
Field Detail- 
STR_PROPERTIES_SHIFTpublic static final int STR_PROPERTIES_SHIFT - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
PasteCellsOperationpublic 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 label
- undoContext-- IUndoContext
- sheet-- SheetAccessor
- selection-- Selection
- changeContentOrFormat- need change content or format
- document-- SpreadsheetDocumentto ba pasted
- descriptor-- MoxelDescriptor
- positionHolder-- PositionHolder
- configurationProvider- the configuration provider, cannot be- null
 
 - 
PasteCellsOperationpublic 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 label
- undoContext-- IUndoContext
- sheet-- SheetAccessor
- selection-- Selection
- changeContentOrFormat- need change content or format
- document-- SpreadsheetDocumentto ba pasted
- descriptor-- MoxelDescriptor
- positionHolder-- PositionHolder
- configurationProvider- the configuration provider, cannot be- null
- pasteOptions-- PasteSpecialOptions, must not be- null
 
 
- 
 - 
Method Detail- 
performActionpublic void performAction() Description copied from class:ChangeCellsOperationВыполнить действие.- Specified by:
- performActionin class- ChangeCellsOperation
 
 - 
onUndoInternalprotected void onUndoInternal() Description copied from class:ChangeCellsOperationSubclasses override this method to provide post-undo logic.- Overrides:
- onUndoInternalin class- ChangeCellsOperation
 
 - 
onRedoInternalprotected void onRedoInternal() Description copied from class:ChangeCellsOperationSubclasses override this method to provide post-redo logic.- Overrides:
- onRedoInternalin class- ChangeCellsOperation
 
 
- 
 
-