Class DefaultLaunchDescriptorType
- java.lang.Object
-
- org.eclipse.launchbar.core.internal.DefaultLaunchDescriptorType
-
- All Implemented Interfaces:
ILaunchDescriptorType
public class DefaultLaunchDescriptorType extends java.lang.Object implements ILaunchDescriptorType
A special descriptor type that managed configurations that aren't owned by other descriptor types.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<org.eclipse.debug.core.ILaunchConfiguration,DefaultLaunchDescriptor>descriptorsstatic java.lang.StringID
-
Constructor Summary
Constructors Constructor Description DefaultLaunchDescriptorType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILaunchDescriptorgetDescriptor(java.lang.Object launchObject)Return a descriptor for the given launch object.booleansupportsTargets()Does this descriptor type support launching on targets other than Local?
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
descriptors
private java.util.Map<org.eclipse.debug.core.ILaunchConfiguration,DefaultLaunchDescriptor> descriptors
-
-
Method Detail
-
supportsTargets
public boolean supportsTargets() throws org.eclipse.core.runtime.CoreExceptionDescription copied from interface:ILaunchDescriptorTypeDoes this descriptor type support launching on targets other than Local?- Specified by:
supportsTargetsin interfaceILaunchDescriptorType- Returns:
- supports targets
- Throws:
org.eclipse.core.runtime.CoreException
-
getDescriptor
public ILaunchDescriptor getDescriptor(java.lang.Object launchObject)
Description copied from interface:ILaunchDescriptorTypeReturn a descriptor for the given launch object. May return null to essentially eat the element so no other types create a descriptor for it. The enablement expression for a given launch object must pass for this clause to be executed.- Specified by:
getDescriptorin interfaceILaunchDescriptorType- Returns:
- the best descriptor
-
-