Class DeleteInsertColumnsHandler
- 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.DeleteInsertColumnsHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
- Direct Known Subclasses:
InsertColumnsAfterHandler
,InsertColumnsBeforeHandler
,RemoveColumnsHandler
public abstract class DeleteInsertColumnsHandler extends DeleteInsertCellsHandler
Base handler for delete/insert columns commands
-
-
Constructor Summary
Constructors Constructor Description DeleteInsertColumnsHandler()
Creates new instance ofDeleteInsertColumnsHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
atLeft()
Проверить, проиходит ли вставка слева.protected List<Selection>
getSelection(MoxelControl control)
Get selected area to apply operation to-
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.DeleteInsertCellsHandler
execute, getPreserveFormatType, isInsertOperation
-
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
addHandlerListener, dispose, getControl, isEnabled, isHandled, removeHandlerListener
-
-
-
-
Constructor Detail
-
DeleteInsertColumnsHandler
public DeleteInsertColumnsHandler()
Creates new instance ofDeleteInsertColumnsHandler
-
-
Method Detail
-
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
-
atLeft
protected abstract boolean atLeft()
Проверить, проиходит ли вставка слева.
-
-