Class AbstractTemplateHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com._1c.g5.v8.dt.internal.rights.ui.handlers.AbstractTemplateHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
AddTemplateHandler
,DeleteTemplateHandler
,EditTemplateHandler
public abstract class AbstractTemplateHandler
extends org.eclipse.core.commands.AbstractHandler
Abstract template handler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IRightsEditorRestrictionController
getController
(org.eclipse.core.commands.ExecutionEvent event) Gets template section controller.Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.commands.IHandler
execute
-
Constructor Details
-
AbstractTemplateHandler
public AbstractTemplateHandler()
-
-
Method Details
-
getController
protected IRightsEditorRestrictionController getController(org.eclipse.core.commands.ExecutionEvent event) Gets template section controller.- Parameters:
event
- the event (notnull
)- Returns:
- the controller, can be
null
if active editornull
-