}
@Override
public void performApply(ILaunchConfigurationWorkingCopy configuration) {
if (getSelectedProject() != null) {
ConfigurationData data = projectPathToAbsolutePath.get(getSelectedComboString(confFileCombo));
configuration.setAttribute(LaunchConfigurationConstants.PROJECT_NAME, getSelectedComboString(projectCombo));
if (data != null) {
configuration.setAttribute(LaunchConfigurationConstants.CONF_FILENAME, data.getName());
configuration.setAttribute(LaunchConfigurationConstants.CONF_FULLPATH,
data.getConfigurationPath());
int i = 0;
for (File path : data.getBasePaths()) {
configuration.setAttribute(
String.format("%s_%s", LaunchConfigurationConstants.BASEPATH, i++),
path.getAbsolutePath());
}
}