Package org.eclipse.launchbar.core
Class ProjectPerTargetLaunchConfigProvider
java.lang.Object
org.eclipse.launchbar.core.AbstractLaunchConfigProvider
org.eclipse.launchbar.core.PerTargetLaunchConfigProvider
org.eclipse.launchbar.core.ProjectPerTargetLaunchConfigProvider
- All Implemented Interfaces:
ILaunchConfigurationProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ILaunchDescriptor
getLaunchDescriptor
(org.eclipse.debug.core.ILaunchConfiguration configuration) protected void
populateLaunchConfiguration
(ILaunchDescriptor descriptor, ILaunchTarget target, org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) boolean
supports
(ILaunchDescriptor descriptor, ILaunchTarget target) Does this config provider provide launch configurations for the combination of descriptor and target.Methods inherited from class org.eclipse.launchbar.core.PerTargetLaunchConfigProvider
getLaunchConfiguration, getLaunchTarget, getManager, launchConfigurationAdded, launchConfigurationChanged, launchConfigurationRemoved, launchDescriptorRemoved, launchTargetRemoved, providesForNullTarget
Methods inherited from class org.eclipse.launchbar.core.AbstractLaunchConfigProvider
createLaunchConfiguration, launchDescriptorMatches, ownsLaunchConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.launchbar.core.ILaunchConfigurationProvider
getLaunchConfigurationType
-
Constructor Details
-
ProjectPerTargetLaunchConfigProvider
public ProjectPerTargetLaunchConfigProvider()
-
-
Method Details
-
supports
public boolean supports(ILaunchDescriptor descriptor, ILaunchTarget target) throws org.eclipse.core.runtime.CoreException Description copied from interface:ILaunchConfigurationProvider
Does this config provider provide launch configurations for the combination of descriptor and target. Note: this is called when filtering targets for a descriptor. Processing should be minimal.- Parameters:
descriptor
-target
-- Returns:
- true if target is supported, false otherwise.
- 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 - Overrides:
populateLaunchConfiguration
in classAbstractLaunchConfigProvider
- Throws:
org.eclipse.core.runtime.CoreException
-
getLaunchDescriptor
protected ILaunchDescriptor getLaunchDescriptor(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException - Specified by:
getLaunchDescriptor
in classPerTargetLaunchConfigProvider
- Throws:
org.eclipse.core.runtime.CoreException
-