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.
Summary: | Default value of multiplicity collection type should be ArrayList | ||
---|---|---|---|
Product: | uml | Reporter: | Andrew Korostelev <akorostelev> |
Component: | Properties | Assignee: | Craig Conover <conover> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | REGRESSION |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Andrew Korostelev
2007-04-26 17:28:03 UTC
I have this implemented so that the default value of a multiplicity range is "DEFAULT_COLLECTION_VALUE". This is an indication to code generation and UI to use/display the value of the global preference, "Collection Override Default". The value of the global pref can be specified in dot notation (java.util.ArrayList) or UML double-colon notation (java::util::ArrayList) and it will all work as expected. If in dot notation, the UI for the range Collection Type drop down will not match any values in the options list, but will still function as desired. I would change the default value of the global pref to use :: notation, but this would require a change to the help text for this preference and hence, a UI change. Not going there in the fixes patch. This feature/preference needs to be discussed for the NB6 release. verified in all-nbms-griffin_fixes-070426-ml |