FileChooserDescriptor (UserDefinedJsonSchemaConfiguration.Item item) { return item.mappingKind == JsonMappingKind.File ? FileChooserDescriptorFactory.createSingleFileNoJarsDescriptor() : FileChooserDescriptorFactory.createSingleFolderDescriptor(); }