Class AbstractLaunchConfigProvider

    • Field Detail

      • ATTR_ORIGINAL_NAME

        private static final java.lang.String ATTR_ORIGINAL_NAME
        See Also:
        Constant Field Values
      • ATTR_PROVIDER_CLASS

        private static final java.lang.String ATTR_PROVIDER_CLASS
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractLaunchConfigProvider

        public AbstractLaunchConfigProvider()
    • Method Detail

      • createLaunchConfiguration

        protected org.eclipse.debug.core.ILaunchConfiguration createLaunchConfiguration​(ILaunchDescriptor descriptor,
                                                                                        ILaunchTarget target)
                                                                                 throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • populateLaunchConfiguration

        protected void populateLaunchConfiguration​(ILaunchDescriptor descriptor,
                                                   ILaunchTarget target,
                                                   org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
                                            throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException
      • launchDescriptorMatches

        public boolean launchDescriptorMatches​(ILaunchDescriptor descriptor,
                                               org.eclipse.debug.core.ILaunchConfiguration configuration,
                                               ILaunchTarget target)
                                        throws org.eclipse.core.runtime.CoreException
        Description copied from interface: ILaunchConfigurationProvider
        Return true if given descriptor is associated with given launch configuration. I.e. if getLaunchConfiguration(descriptor, target) returns a launch configuration, calling launchDescriptorMatches(descriptor, configuration, target) should return true. This method is used to activate descriptor when launch happens, return false all the time would mean launch would track launches of this specific descriptor (if they occur outside of launchbar).
        Specified by:
        launchDescriptorMatches in interface ILaunchConfigurationProvider
        configuration - launch configuration in question
        target - - target to match, it can be null if launch bar cannot determine target, in this case it should act as wildcard
        Returns:
        launch configuration
        Throws:
        org.eclipse.core.runtime.CoreException
      • ownsLaunchConfiguration

        protected boolean ownsLaunchConfiguration​(org.eclipse.debug.core.ILaunchConfiguration configuration)
                                           throws org.eclipse.core.runtime.CoreException
        Throws:
        org.eclipse.core.runtime.CoreException