Package org.eclipse.launchbar.core
Interface ILaunchDescriptorType
-
- All Known Implementing Classes:
DefaultLaunchDescriptorType
public interface ILaunchDescriptorTypeProvides mapping between launch objects and launch descriptors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ILaunchDescriptorgetDescriptor(java.lang.Object launchObject)Return a descriptor for the given launch object.default booleansupportsTargets()Does this descriptor type support launching on targets other than Local?
-
-
-
Method Detail
-
getDescriptor
ILaunchDescriptor getDescriptor(java.lang.Object launchObject) throws org.eclipse.core.runtime.CoreException
Return 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.- Parameters:
descriptor- launch object for descriptor- Returns:
- the best descriptor
- Throws:
org.eclipse.core.runtime.CoreException
-
supportsTargets
default boolean supportsTargets() throws org.eclipse.core.runtime.CoreExceptionDoes this descriptor type support launching on targets other than Local?- Returns:
- supports targets
- Throws:
org.eclipse.core.runtime.CoreException- Since:
- 2.1
-
-