/* (non-Javadoc) * @see org.eclipse.debug.ui.ILaunchConfigurationTab#initializeFrom(org.eclipse.debug.core.ILaunchConfiguration) */ public void initializeFrom(ILaunchConfiguration configuration) { setLaunchConfiguration(configuration); try { String wd = configuration.getAttribute(Constants.ATTR_WORKING_DIRECTORY, (String) null); String owd = configuration.getAttribute(Constants.ATTR_OTHER_WORKING_DIRECTORY, (String) null); setDefaultWorkingDir(); if (((wd != null) && (wd.equals(owd))) || (owd == null)) { setOtherWorkingDirectoryText(wd); } else { fOtherWorkingText.setText(owd); } } catch (CoreException e) { setErrorMessage("Exception occurred reading configuration" + e.getStatus().getMessage()); PydevPlugin.log(e); } }