public final class ILaunchConfigurationHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<org.eclipse.debug.core.ILaunchConfiguration> |
filterByProject(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations,
String project)
Filters ILaunchConfigurations by a specific
IProject. |
static List<org.eclipse.debug.core.ILaunchConfiguration> |
filterByType(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations,
String type)
Filters ILaunchConfigurations by a specific type.
|
static List<org.eclipse.debug.core.ILaunchConfiguration> |
getAllLaunchConfigurationsInWorkspace()
Gives all ILaunchConfigurations in the workspace.
|
static List<org.eclipse.debug.core.ILaunchConfiguration> |
getByNames(List<String> names)
Gets ILaunchConfigurations by their name.
|
static List<LaunchConfiguration> |
toBeagleLaunchConfigurations(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations,
org.eclipse.jdt.core.IJavaProject project)
Converts some ILaunchConfigurations to Beagle's
LaunchConfigurations.
|
static List<String> |
toNameStrings(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations)
Converts ILaunchConfigurations to
Strings containing their name.
|
public static List<String> toNameStrings(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations)
launchConfigurations - the ILaunchConfigurations to convert.public static List<org.eclipse.debug.core.ILaunchConfiguration> getAllLaunchConfigurationsInWorkspace()
public static List<org.eclipse.debug.core.ILaunchConfiguration> filterByProject(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations, String project)
IProject.launchConfigurations - Some ILaunchConfigurations.project - The name of an IProject for filtering.launchConfigurations and belong to IProject.public static List<org.eclipse.debug.core.ILaunchConfiguration> filterByType(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations, String type)
launchConfigurations - Some ILaunchConfigurations.type - The launch configuration type id for filtering.launchConfigurations and their type is type.public static List<org.eclipse.debug.core.ILaunchConfiguration> getByNames(List<String> names)
names - The names of the ILaunchConfigurations. Invalid names are silently ignored. Must not be
null.names.public static List<LaunchConfiguration> toBeagleLaunchConfigurations(List<org.eclipse.debug.core.ILaunchConfiguration> launchConfigurations, org.eclipse.jdt.core.IJavaProject project)
launchConfigurations - Some ILaunchConfigurations to convert.project - The IJavaProject for the launchConfigurations.launchConfigurations.