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 ILaunchDescriptorgetLaunchDescriptor(org.eclipse.debug.core.ILaunchConfiguration configuration) protected voidpopulateLaunchConfiguration(ILaunchDescriptor descriptor, ILaunchTarget target, org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy) Populate the newly created launch configuration with the target's attributes.booleansupports(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, providesForNullTargetMethods inherited from class org.eclipse.launchbar.core.AbstractLaunchConfigProvider
createLaunchConfiguration, launchDescriptorMatches, ownsLaunchConfiguration, updateLaunchConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ILaunchConfigurationProviderDoes 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 Description copied from class:AbstractLaunchConfigProviderPopulate the newly created launch configuration with the target's attributes.- Overrides:
populateLaunchConfigurationin classAbstractLaunchConfigProvider- Parameters:
descriptor- the launch descriptortarget- the launch target- Throws:
org.eclipse.core.runtime.CoreException- if unable to get the launch configuration type
-
getLaunchDescriptor
protected ILaunchDescriptor getLaunchDescriptor(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException - Specified by:
getLaunchDescriptorin classPerTargetLaunchConfigProvider- Throws:
org.eclipse.core.runtime.CoreException
-