Class AbstractFindEventHandlersHandler
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- com._1c.g5.v8.dt.eventhandlers.ui.handlers.AbstractEventHandlersHandler
-
- com._1c.g5.v8.dt.eventhandlers.ui.handlers.AbstractFindEventHandlersHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
FindAllEventHandlersHandler
,FindManagerModuleEventHandlersHandler
,FindObjectModuleEventHandlersHandler
,FindRecordSetEventHandlersHandler
public abstract class AbstractFindEventHandlersHandler extends AbstractEventHandlersHandler
Base class for "Find Event Handlers" handlers. Opens "All Events Handlers" editor and sets filter.
-
-
Constructor Summary
Constructors Constructor Description AbstractFindEventHandlersHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
execute(org.eclipse.core.commands.ExecutionEvent event)
protected abstract Collection<TypeItem>
getMdObjectProducedType(MdObject mdObject)
Returns given md object produced types.protected TypeSet
getParentTypeSet(MdObject context, TypeItem typeItem)
Returns type set contatining given type item.-
Methods inherited from class com._1c.g5.v8.dt.eventhandlers.ui.handlers.AbstractEventHandlersHandler
getActiveEventHandlersEditor, getBaseConfiguration
-
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
-
getParentTypeSet
protected TypeSet getParentTypeSet(MdObject context, TypeItem typeItem)
Returns type set contatining given type item. Example: for CatalogObjects.Catalog1 typeItem returns CatalogObjects typeSet- Parameters:
context
- - context object. Cannot benull
.typeItem
- - type item to get parent type set. Cannot benull
.- Returns:
- parent type set. Can return
null
.
-
getMdObjectProducedType
protected abstract Collection<TypeItem> getMdObjectProducedType(MdObject mdObject)
Returns given md object produced types.- Parameters:
mdObject
- - object to get produced types. Can't benull
.- Returns:
- given md object produced types. Can't return
null
.
-
-