void (final ActionEvent e) { final boolean dedicated = rbModulesDedicated.isSelected(); myDirComponent.setEnabled(dedicated); if (dedicated && myDirComponent.getText().length() == 0) { final String remoteStorage = Options.getProjectStorageDir(context.getProject()); myDirComponent.setText(remoteStorage != null ? remoteStorage : FileUtil.toSystemDependentName(myWorkspaceRootComponent.getText())); } }