Class ClearHandler
java.lang.Object
com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
com._1c.g5.v8.dt.moxel.ui.handlers.ClearHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
- Direct Known Subclasses:
ClearAll
,ClearBordersHandler
,ClearContentHandler
,ClearFormatHandler
Base handler for various 'Clear ...' commands
-
Constructor Summary
ConstructorsConstructorDescriptionClearHandler
(boolean clearBorders, boolean clearFormat, boolean clearContent) Creates new instance ofClearHandler
-
Method Summary
Methods inherited from class com._1c.g5.v8.dt.moxel.ui.handlers.BaseHandler
addHandlerListener, dispose, getControl, isEnabled, isHandled, removeHandlerListener
-
Constructor Details
-
ClearHandler
public ClearHandler(boolean clearBorders, boolean clearFormat, boolean clearContent) Creates new instance ofClearHandler
- Parameters:
clearBorders
- - clear bordersclearFormat
- - clear formatclearContent
- - clear content
-
-
Method Details
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-