This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
boolean editable = (editor instanceof EnhancedPropertyEditor)
? ((EnhancedPropertyEditor) editor).supportsEditingTaggedValues()
: ((env != null) && Boolean.TRUE.equals(env.getFeatureDescriptor().getValue("canEditAsText"))); //NOI18N
Object canAutocompleteValue = env != null? env.getFeatureDescriptor().getValue("canAutocomplete"): null; //NOI18N
boolean canAutocomplete = canAutocompleteValue != null? Boolean.TRUE.equals(canAutocompleteValue): true;
strictAutoCompleteMatching = !editable;
setEditable(editable || isAutoComplete);
setEditable(editable || canAutocomplete && isAutoComplete);
setActionCommand(COMMAND_SUCCESS);
//Support for custom ListCellRenderer injection via PropertyEnv