网站大量收购独家精品文档,联系QQ:2885784924

UML2.0建模工具的设计与实现.doc

  1. 1、本文档共49页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
UML2.0建模工具的设计与实现

摘 要 Eclipse体系结构灵活,能像硬件一样进行即插即用的开发,Eclipse是许多软件开发者使用的开发工具。如今是面向对象语言占主流的开发时代。面向对象的分析与设计是通过UML这种图形语言来描述的。那么开发一种描叙面向对象的UML工具以及把其设计成果(UML)自动转换成对应的程序就显得尤为重要。 本文设计实现的是一个UML2.0的图形编辑器工具,主要设计实现了:类模型的绘制、接口模型的绘制、类模型和接口模型水平方向及垂直方向的移动、类模型和接口模型的缩放、类模型和接口模型的删除及其相应的撤销操作、类模型和接口模型的对齐方式(左对齐、上对齐)、关系模型(泛化、实现)的绘制、关系模型的删除、重定向以及相应的撤销操作、关系路径的改变、大纲视图的简单实现、缩略视图的简单实现。本文给出了类模型的绘制通用方法;其次,在类模型与接口模型中提供一种所见即所得的编辑方式,针对该编辑方式而进行的一系列鼠标监听操作,这些都是本文的创新点。 关键:Eclipse插件图形编辑框架UML Abstract The flexiability of Eclipse systematic structure make it possible to plug and play like hardwares,so many explorers use Eclipse as their developing tool.Today,we are in a socity where object-oriented language takes the trend.The design thinking objective-oriented is realized through the description of UML.Therefore,It’s very importment to develop a objective-oriented UML tool and transform it into the corresponding OOPL. The tool that this paper designed is a UML2.0 graph editor.It mainly complete:1.drawing of class model、2.drawing of interface model、3.the movement of class model and interface model both horizontally and vertically、4.zoom of class model and interface model、5.delete and undo、6.aligment of the model(including align left and align right)、7.drawing of relational model、8.delte、redirect and undo the relational model、9.change the relational route、10.simple of outline view、11.simple achievement of thumbnail view. In conclusion, the drawing of class model is one of the most difficult as well as the most creative point in this design. What’s more,a series of mouse monitor operations based on the immediate editor provided in class model and interface model are another new creation.Choosing GEF+Draw2D to realize drawing tools, compared with those who choose EMF even GMF to realize the drawing tool,is also a new try. Althouth the study of model and code is ongoing,it is a creation seeing from the overall designing thought. Keywords:Eclipse, plug-in,Graphical Editor Framework, UML 目 录 摘 要 1 Abstract 2 目 录 3 第

文档评论(0)

2017meng + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档