Class InsertCellsHandler
java.lang.Object
com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
com._1c.g5.v8.dt.moxel.ui.handlers.DeleteInsertCellsHandler
com._1c.g5.v8.dt.moxel.ui.handlers.InsertCellsHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
Handler for 'Insert' command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet preserve format typegetSelection(MoxelControl control) Get selected area to apply operation toprotected booleanCheck if operation is 'Insert' operationMethods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.DeleteInsertCellsHandler
executeMethods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
addHandlerListener, dispose, getControl, isEnabled, isHandled, removeHandlerListener
-
Constructor Details
-
InsertCellsHandler
public InsertCellsHandler()
-
-
Method Details
-
isInsertOperation
protected boolean isInsertOperation()Description copied from class:DeleteInsertCellsHandlerCheck if operation is 'Insert' operation- Specified by:
isInsertOperationin classDeleteInsertCellsHandler- Returns:
trueif operation is insert operation,falseotherwise
-
getSelection
Description copied from class:DeleteInsertCellsHandlerGet selected area to apply operation to- Specified by:
getSelectionin classDeleteInsertCellsHandler- Parameters:
control-MoxelControl- Returns:
- list of
Selectionrepresenting selected document areas
-
getPreserveFormatType
Description copied from class:DeleteInsertCellsHandlerGet preserve format type- Specified by:
getPreserveFormatTypein classDeleteInsertCellsHandler- Returns:
- preserve format type
-