/* * (non-Javadoc) * * @see org.eclipse.debug.ui.ILaunchConfigurationTab#performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy) */ @Override public void performApply(ILaunchConfigurationWorkingCopy configuration) { super.performApply(configuration); try { // has the location changed String newLocation = configuration.getAttribute(IExternalToolConstants.ATTR_LOCATION, (String) null); if (newLocation != null) { if (!newLocation.equals(fCurrentLocation)) { updateTargetsTab(); fCurrentLocation = newLocation; updateProjectName(configuration); } } else if (fCurrentLocation != null) { updateTargetsTab(); fCurrentLocation = newLocation; updateProjectName(configuration); } } catch (CoreException e) { // do nothing } setMappedResources(configuration); setAttribute( IAntUIConstants.SET_INPUTHANDLER, configuration, fSetInputHandlerButton.getSelection(), true); }