void () { myProperties.setEnabled(myRunTargetCheckBox.isSelected()); if (myTarget != null) { final VirtualFile file = myTarget.getModel().getBuildFile().getVirtualFile(); if (file != null) { myProperties.setFileUrl(file.getUrl()); myProperties.setTargetName(myTarget.getName()); final List<BuildFileProperty> properties = getUserProperties(); myProperties.setUserProperties(properties); return; } } myProperties.setFileUrl(null); myProperties.setTargetName(null); }