Class SetBreakpointDialog

  • All Implemented Interfaces:
    org.eclipse.jface.window.IShellProvider

    public class SetBreakpointDialog
    extends org.eclipse.ui.dialogs.SelectionDialog
    Dialog for setting breakpoints to event handlers.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jface.window.Window

        org.eclipse.jface.window.Window.IExceptionHandler
    • Field Summary

      • Fields inherited from class org.eclipse.jface.dialogs.Dialog

        blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
      • Fields inherited from class org.eclipse.jface.window.Window

        CANCEL, OK, resizeHasOccurred
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.swt.widgets.Control createDialogArea​(org.eclipse.swt.widgets.Composite parent)  
      Object[] getResult()  
      void initCache​(Configuration configuration, org.eclipse.core.runtime.SubMonitor monitor)
      Inits cache for given configuration.
      • Methods inherited from class org.eclipse.ui.dialogs.SelectionDialog

        configureShell, createButtonsForButtonBar, createMessageArea, getDialogBoundsSettings, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult, setTitle
      • Methods inherited from class org.eclipse.jface.dialogs.TrayDialog

        closeTray, createButtonBar, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
      • Methods inherited from class org.eclipse.jface.dialogs.Dialog

        applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
      • Methods inherited from class org.eclipse.jface.window.Window

        canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
    • Constructor Detail

      • SetBreakpointDialog

        public SetBreakpointDialog​(org.eclipse.swt.widgets.Shell parentShell,
                                   Configuration configuration,
                                   EventHandlersFilter activeFilter,
                                   EventSubscriptionEventsProvider eventsProvider,
                                   org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider,
                                   IV8ProjectManager projectManager,
                                   IResourceLookup resourceLookup,
                                   IBslOwnerComputerService bslOwnerComputerService,
                                   org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider,
                                   IBmEmfIndexManager indexManager,
                                   IIndexSlicePredicateService slicePredicateService,
                                   IFilterBySubsystemsManager filterBySubsystemsManager,
                                   IDtProjectManager dtProjectManager)
        Constructor
        Parameters:
        parentShell - parent shell, cannot be null
        configuration - editors configuration, cannot be null
        activeFilter - active "All Events Handlers" editors filter, cannot be null
        eventsProvider - events provider, cannot be null
        globalScopeProvider - global scope provider, cannot be null
        projectManager - v8 project manager, cannot be null
        resourceLookup - resource lookup, cannot be null
        bslOwnerComputerService - bsl owner computer service, cannot be null
        qualifiedNameProvider - qualified name provider, cannot be null
        indexManager - EMF index manager, cannot be null
        slicePredicateService - the slice predicate service, cannot be null
        filterBySubsystemsManager - the filter by subsystems manager, cannot be null
        dtProjectManager - the DT project manager, cannot be null
    • Method Detail

      • getResult

        public Object[] getResult()
        Overrides:
        getResult in class org.eclipse.ui.dialogs.SelectionDialog
      • initCache

        public void initCache​(Configuration configuration,
                              org.eclipse.core.runtime.SubMonitor monitor)
        Inits cache for given configuration.
        Parameters:
        configuration - - configuration. Can't be null.
        monitor - - monitor to report progress. Can be null.
      • createDialogArea

        protected org.eclipse.swt.widgets.Control createDialogArea​(org.eclipse.swt.widgets.Composite parent)
        Overrides:
        createDialogArea in class org.eclipse.jface.dialogs.Dialog