Class AbstractCommonPictureHandler
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- com._1c.g5.v8.dt.md.ui.editor.aef.descriptor.commonpicture.AbstractCommonPictureHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
CommonPictureClearHandler
,CommonPictureFileSaveHandler
,CommonPictureFileUploadHandler
public abstract class AbstractCommonPictureHandler extends org.eclipse.core.commands.AbstractHandler
AbstractHandler
implementation for clear, load and saveCommonPicture
picture.
-
-
Constructor Summary
Constructors Constructor Description AbstractCommonPictureHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doExecute(CommonPicture commonPicture, IModelApi modelApi)
Executes with theCommonPicture
andIModelApi
instances.Object
execute(org.eclipse.core.commands.ExecutionEvent event)
-
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
-
-
-
-
Method Detail
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
- Throws:
org.eclipse.core.commands.ExecutionException
-
doExecute
protected abstract void doExecute(CommonPicture commonPicture, IModelApi modelApi)
Executes with theCommonPicture
andIModelApi
instances.- Parameters:
commonPicture
- the common picture, cannot benull
modelApi
- the model API, cannot benull
-
-