Class DefaultLaunchDescriptor
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.launchbar.core.internal.DefaultLaunchDescriptor
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,ILaunchDescriptor
public class DefaultLaunchDescriptor extends org.eclipse.core.runtime.PlatformObject implements ILaunchDescriptor
A special launch descriptor that managed configurations that aren't owned by other descriptors.
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.debug.core.ILaunchConfigurationconfigurationprivate DefaultLaunchDescriptorTypetype
-
Constructor Summary
Constructors Constructor Description DefaultLaunchDescriptor(DefaultLaunchDescriptorType type, org.eclipse.debug.core.ILaunchConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetAdapter(java.lang.Class<T> adapter)java.lang.StringgetName()Name to show in the launch descriptor selector.ILaunchDescriptorTypegetType()The type of launch descriptor.
-
-
-
Field Detail
-
type
private final DefaultLaunchDescriptorType type
-
configuration
private final org.eclipse.debug.core.ILaunchConfiguration configuration
-
-
Constructor Detail
-
DefaultLaunchDescriptor
public DefaultLaunchDescriptor(DefaultLaunchDescriptorType type, org.eclipse.debug.core.ILaunchConfiguration configuration)
-
-
Method Detail
-
getAdapter
public <T> T getAdapter(java.lang.Class<T> adapter)
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject
-
getName
public java.lang.String getName()
Description copied from interface:ILaunchDescriptorName to show in the launch descriptor selector. Names must be unique for all descriptors of a given type.- Specified by:
getNamein interfaceILaunchDescriptor- Returns:
- name of the launch descriptor
-
getType
public ILaunchDescriptorType getType()
Description copied from interface:ILaunchDescriptorThe type of launch descriptor.- Specified by:
getTypein interfaceILaunchDescriptor- Returns:
- provider
-
-