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.
code generation invoked for transformed element doesn't update element type in java source file. steps to reproduce: - create java-platform uml project - create class diagram - put enumeration on diagram and name it - generate code. - transform enum. element on diagram into class - generate code. in source file element is still enum.
While element type in source file is not changed, some midifications of transformed diagram element will nevertheles be adde into source file. Which may break source. this case is faled as separate issue 87424
Now we delete the contents of the existing source file and regenerate code for the current members of the element in the model.
verified in all-nbms-griffin-061018_35 Some problems still exist, but they are not critical and will be filed as separate issues.