void () { String path = getBuilder().getFileToImport(); if (path == null) { if (getWizardContext().isProjectFileDirectorySet() || !PropertiesComponent.getInstance().isValueSet(_ECLIPSE_PROJECT_DIR)) { path = getWizardContext().getProjectFileDirectory(); } else { path = PropertiesComponent.getInstance().getValue(_ECLIPSE_PROJECT_DIR); } } myWorkspaceRootComponent.setText(path.replace('/', File.separatorChar)); myWorkspaceRootComponent.getTextField().selectAll(); final String storageDir = Options.getProjectStorageDir(getWizardContext().getProject()); final boolean colocated = StringUtil.isEmptyOrSpaces(getParameters().converterOptions.commonModulesDirectory) && StringUtil.isEmptyOrSpaces(storageDir); rbModulesColocated.setSelected(colocated); rbModulesDedicated.setSelected(!colocated); myDirComponent.setEnabled(!colocated); if (StringUtil.isEmptyOrSpaces(getParameters().converterOptions.commonModulesDirectory)) { myDirComponent.setText(storageDir); } else { myDirComponent.setText(getParameters().converterOptions.commonModulesDirectory); } myTestSourcesMask.setText(regexpToWildcard(getParameters().converterOptions.testPattern)); myLinkCheckBox.setSelected(getParameters().linkConverted); }