void (@Nullable Project project) { boolean isWorkspaceImport = myWorkspaceImportCheckBox.isSelected(); myStoreProjectFilesUnderProjectRoot.setVisible(project != null && !isWorkspaceImport); myStoreProjectFilesUnderProjectRootHint.setVisible(project != null && !isWorkspaceImport); mySeparateModulesDirCheckBox.setVisible(!isWorkspaceImport); mySeparateModulesDirChooser.setVisible(!isWorkspaceImport); myKeepSourceFoldersCheckBox.setVisible(!isWorkspaceImport); myCreateModulesForAggregators.setVisible(!isWorkspaceImport); }