Class AddEventBreakpointsHandler
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.AddEventBreakpointsHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
AddBreakpointsUsingSelectionHandler
Handler for "Add Events Breakpoints" action. Opens dialog where user selects events and objects for which
breakpoints will be created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(org.eclipse.core.commands.ExecutionEvent event) protected EventHandlersFilter
getInitialCheckedItems
(org.eclipse.core.commands.ExecutionEvent event) Returns items which should be checked after dialog opens.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
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
AddEventBreakpointsHandler
public AddEventBreakpointsHandler()
-
-
Method Details
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-
getInitialCheckedItems
protected EventHandlersFilter getInitialCheckedItems(org.eclipse.core.commands.ExecutionEvent event) Returns items which should be checked after dialog opens. (items from filter source collection will be checked in source panel, items from events collection will be checked in events panel, items from handlers collection will be checked in handlers panel)- Parameters:
event
- - event. Can't benull
.- Returns:
- items which should be checked after dialog opens. Can be
null
.
-