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
public class InsertCellsHandler extends DeleteInsertCellsHandler
Handler for 'Insert' command
-
-
Constructor Summary
Constructors Constructor Description InsertCellsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DeleteInsertCellsOperation.PreserveFormatType
getPreserveFormatType()
Get preserve format typeprotected List<Selection>
getSelection(MoxelControl control)
Get selected area to apply operation toprotected boolean
isInsertOperation()
Check if operation is 'Insert' operation-
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.DeleteInsertCellsHandler
execute
-
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
addHandlerListener, dispose, getControl, isEnabled, isHandled, removeHandlerListener
-
-
-
-
Method Detail
-
isInsertOperation
protected boolean isInsertOperation()
Description copied from class:DeleteInsertCellsHandler
Check if operation is 'Insert' operation- Specified by:
isInsertOperation
in classDeleteInsertCellsHandler
- Returns:
true
if operation is insert operation,false
otherwise
-
getSelection
protected List<Selection> getSelection(MoxelControl control)
Description copied from class:DeleteInsertCellsHandler
Get selected area to apply operation to- Specified by:
getSelection
in classDeleteInsertCellsHandler
- Parameters:
control
-MoxelControl
- Returns:
- list of
Selection
representing selected document areas
-
getPreserveFormatType
protected DeleteInsertCellsOperation.PreserveFormatType getPreserveFormatType()
Description copied from class:DeleteInsertCellsHandler
Get preserve format type- Specified by:
getPreserveFormatType
in classDeleteInsertCellsHandler
- Returns:
- preserve format type
-
-