Class AbstractModuleConfiguration

    • Field Detail

      • THREAD_INITIAL

        protected static final int THREAD_INITIAL
      • THREAD_INCREMENTS

        protected static final int THREAD_INCREMENTS
      • THREAD_MAXIMUM

        protected static final int THREAD_MAXIMUM
    • Constructor Detail

      • AbstractModuleConfiguration

        public AbstractModuleConfiguration()
    • Method Detail

      • initializeFrom

        public void initializeFrom​(org.eclipse.debug.core.ILaunchConfiguration configuration)
        Description copied from interface: ModuleConfiguration
        Initialise the composite for this module with the configuration values
        Specified by:
        initializeFrom in interface ModuleConfiguration
      • performApply

        public void performApply​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
        Description copied from interface: ModuleConfiguration
        Store the configured values in the configuration
        Specified by:
        performApply in interface ModuleConfiguration
      • calculateThreadIncrementFromInitial

        protected static int calculateThreadIncrementFromInitial​(int initial)
        Example mapping of initial -> increment:
        64 -> 8,
        56 -> 7,
        48 -> 6,
        32 -> 4,
        24 -> 4,
        16 -> 4,
        12 -> 3,
        8 -> 2,
        6 -> 2,
        4 -> 2,
        2 -> 1
      • createParallelContainer

        protected static org.eclipse.swt.widgets.Composite createParallelContainer​(org.eclipse.swt.widgets.Composite group)
      • createThreadsLabel

        protected static org.eclipse.swt.widgets.Label createThreadsLabel​(org.eclipse.swt.widgets.Composite container)
      • createThreadsSelector

        protected static org.eclipse.swt.widgets.Spinner createThreadsSelector​(org.eclipse.swt.widgets.Composite container,
                                                                               AbstractAdvancedConfigurationTab tab)
      • initializeThreadsFromConfiguration

        protected static void initializeThreadsFromConfiguration​(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                                                 org.eclipse.swt.widgets.Spinner numThreadsSelector)
      • performApplyThreadsForConfiguration

        protected static void performApplyThreadsForConfiguration​(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration,
                                                                  org.eclipse.swt.widgets.Spinner numThreadsSelector)