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
public class AddEventBreakpointsHandler extends AbstractEventHandlersHandler
Handler for "Add Events Breakpoints" action. Opens dialog where user selects events and objects for which breakpoints will be created.
-
-
Constructor Summary
Constructors Constructor Description AddEventBreakpointsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute(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
-
-
-
-
Method Detail
-
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
.
-
-