Summary: | Code generation does not work for classes created in list view | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Joris Steyn <kde> |
Component: | general | Assignee: | Joris Steyn <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/792a0babd5317e333322daa7089fca868341a53f | Version Fixed In: | |
Sentry Crash Report: |
Description
Joris Steyn
2013-12-12 22:49:58 UTC
Git commit 792a0babd5317e333322daa7089fca868341a53f by Joris Steyn. Committed on 12/12/2013 at 18:46. Pushed by jorissteyn into branch 'master'. Refactor UMLListView to use Object_Factory The createItem, createUMLObject and createChildUMLObject methods are replaced by calls to Object_Factory. The only changes to Object_Factory involve pre-setting a name on classifier list items so there's no behavioural change (item creation in the list view is 'quick' - no dialog popping up). Related code cleanup: * unused diagram creation code * unused itemRenamed method (UMListViewItem handles that) * unused lines in createChildUMLObject handling renaming of classifier list items, which was also handled by the UMLListViewItem (e.g. determining the return type of an operation based on the new text of a list item) M +6 -3 umbrello/classifier.cpp M +0 -41 umbrello/listpopupmenu.cpp M +0 -1 umbrello/listpopupmenu.h M +10 -9 umbrello/object_factory.cpp M +3 -1 umbrello/object_factory.h M +42 -445 umbrello/umllistview.cpp M +0 -8 umbrello/umllistview.h http://commits.kde.org/umbrello/792a0babd5317e333322daa7089fca868341a53f |