Class 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 Detail

      • AddEventBreakpointsHandler

        public AddEventBreakpointsHandler()
    • 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 be null.
        Returns:
        items which should be checked after dialog opens. Can be null.