Claims
- 1. A computer implemented method for associating source code with a plurality of elements of a model representing the source code, comprising the steps of:
generating a plurality of elements of a model implementable as software source code; generating the software source code corresponding to the plurality of elements of the model; associating portions of the software source code with at least one of the plurality of elements of the model; determining that at least one of the plurality of elements has been modified; and modifying the source code to correspond to the at least one or more of the plurality of elements that has been modified.
- 2. The method according to claim 1, further comprising the step of displaying at least a portion of the source code that has been modified.
- 3. The method according to claim 1, wherein at least a portion of the model elements are displayed in a first display region of a browser, and at least a portion of the modified source code is displayed in a second display region of the browser.
- 4. The method according to claim 3, wherein particular line numbers of the source code are associated with the model elements.
- 5. The method according to claim 3, wherein the first and second display regions comprise frames.
- 6. The method according to claim 1, wherein particular line numbers of the source code are associated with the model elements.
- 7. The method according to claim 1, wherein the model elements are unified modeling language (UML) model elements.
- 8. The method according to claim 7, wherein the UML elements comprise at least one of a class diagram, an object diagram, a use case diagram, a state diagram, a sequence diagram, an activity diagram, a collaboration diagram, a component diagram, and a deployment diagram.
- 9. A computer implemented method for associating source code with a plurality of elements of a model representing the source code, comprising the steps of:
generating a plurality of elements of a model implementable as software source code; generating the software source code corresponding to the plurality of elements of the model; associating portions of the software source code with at least one of the plurality of elements of the model; determining that at least a portion of the source code has been modified; modifying the at least one of the plurality of model elements to correspond to the modified software source code; and regenerating the software source code in accordance with predetermined rules so that the software source code conforms to the modified model.
- 10. The method according to claim 9, further comprising the step of displaying at least a portion of the software source code that has been modified.
- 11. The method according to claim 10, further comprising the step of displaying at least one of the plurality of elements of the model that has been modified.
- 12. The method according to claim 11, wherein at least one of the plurality of model elements is displayed in a first display region of a browser, and at least a portion of the modified software source code is displayed in a second display region of the browser.
- 13. The method according to claim 12, wherein particular line numbers of the software source code are associated with at least one of the plurality of model elements.
- 14. The method according to claim 12, wherein the first and second display regions comprise frames.
- 15. The method according to claim 11, wherein particular line numbers of the source code are associated with the model elements.
- 16. The method according to claim 11, wherein the model elements are unified modeling language (UML) model elements.
- 17. The method according to claim 16, wherein the UML elements comprise at least one of a class diagram, an object diagram, a use case diagram, a state diagram, a sequence diagram, an activity diagram, a collaboration diagram, a component diagram, and a deployment diagram.
- 18. A computer program product residing on a computer readable medium, the computer program product comprising instructions for causing a computer to:
generate a plurality of elements of a model implementable as software source code; generate software source code corresponding to the plurality of elements of the model; associate portions of the software source code with at least one of the plurality of elements of the model; determine that at least one of the plurality of elements of the model has been modified; and modify the source code to correspond to the one or more modified model elements.
- 19. The computer program product according to claim 18, further comprising instructions for causing the computer to display at least a portion of the source code that has been modified.
- 20. A computer program product residing on a computer readable medium, the computer program product comprising instructions for causing a computer to:
generate a plurality of elements of a model implementable as software source code; generate software source code corresponding to the plurality of elements of the model; associate portions of the software source code at least one of the plurality of elements of the model; determine that at least a portion of the software source code has been modified; modify the at least one of the plurality of model elements to correspond to the modified source code; and regenerate the software source code in accordance with predetermined rules so that the source code conforms to the modified model.
- 21. The computer program product according to claim 20, further comprising instructions for causing a computer to display at least a portion of the source code that has been modified.
- 22. A data processing system for generating documentation for source code in a software project, comprising:
means for generating a plurality of elements of a model implementable as software source code; means for generating software source code corresponding to the plurality of elements of the model; means for associating portions of the software source code with at least one of the plurality of elements of the model; means for determining that at least one of the plurality of elements of the model has been modified; and means for modifying the software source code to correspond to one or more of the modified model elements.
- 23. The data processing system according to claim 22, further comprising means for displaying at least a portion of the source code that has been modified.
- 24. A computer implemented method for associating source code with a plurality of elements of a model representing the source code, comprising the steps of:
generating a plurality of elements of a model implementable as software source code; generating software source code corresponding to the plurality of elements of the model; associating portions of the software source code with at least one of the plurality of elements of the model; determining that at least a portion of the software source code has been modified; modifying the at least one of the plurality of model elements to correspond to the modified software source code; and regenerating the software source code in accordance with predetermined rules so that the source code conforms to the modified model.
- 25. The computer implemented method according to claim 24, further comprising the step of displaying at least a portion of the source code that has been modified.
RELATED APPLICATION
[0001] This application claims priority to U.S. Provisional Application Ser. No. 60/387,581 filed Jun. 12, 2002, which is incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60387581 |
Jun 2002 |
US |