UMLEditor:实现一个简单的UML编辑器

上传者: 42120550 | 上传时间: 2023-01-07 15:07:36 | 文件大小: 40KB | 文件类型: ZIP
UML编辑器 实现一个简单的UML编辑器。 编辑器应允许用户绘制类图及其之间的三个关系:继承,聚合和接口实现。 类图应允许用户输入类名称,方法和实例字段。 另外,编辑器应该从该图中自动构造代码,其中包括类和方法的头信息。 同样在另一个视图中,您应该显示一些有关UML图复杂性的统计信息,例如每个关系的数量,是否在整个图中都连接了所有类,等等。您将决定可以使用哪些统计信息来评估UML图。 因此,作为您的客户,我们要求您设计和实现一个简单的UML编辑器,该编辑器可以; 用于绘制仅包含上述组件的UML类图。 在另一个视图中显示与当前绘制的UML图相对应的代码(所有标头)。 每当更新UML图时,都要更新代码视图。 这应该通过使用观察者模式来执行。 每当更新UML图时,都要更新统计信息视图。 这也应该通过使用观察者模式来执行。

文件下载

资源详情

[{"title":"( 32 个子文件 40KB ) UMLEditor:实现一个简单的UML编辑器","children":[{"title":"UMLEditor-master","children":[{"title":".gitignore <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"Panels","children":[{"title":"UmlPanel.java <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"StatisticsArea.java <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"Elements","children":[{"title":"Element_Aggregation.java <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"Element_Interface.java <span style='color:#111;'> 340B </span>","children":null,"spread":false},{"title":"Element.java <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"ElementList.java <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"Element_Inheritance.java <span style='color:#111;'> 354B </span>","children":null,"spread":false}],"spread":true},{"title":"Objects","children":[{"title":"Variable.java <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"Function.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"Utilities","children":[{"title":"MouseEvents.java <span style='color:#111;'> 781B </span>","children":null,"spread":false}],"spread":true},{"title":"Classes","children":[{"title":"Class.java <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"ClassList.java <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false}],"spread":true},{"title":"Buttons","children":[{"title":"VisibilityButton.java <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"AddButton.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"InheritanceButton.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Button.java <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"ChangeButton.java <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"InterfaceButton.java <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"AggregationButton.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"ClassButton.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"CodeAdapters","children":[{"title":"ClassTextAdapter.java <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"FileTab.java <span style='color:#111;'> 915B </span>","children":null,"spread":false}],"spread":true},{"title":"Default","children":[{"title":"Global.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"Gui.java <span style='color:#111;'> 11.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"img","children":[{"title":"change.jpg <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"interface.jpg <span style='color:#111;'> 20.79KB </span>","children":null,"spread":false},{"title":"aggregation.jpg <span style='color:#111;'> 20.10KB </span>","children":null,"spread":false},{"title":"class.jpg <span style='color:#111;'> 21.39KB </span>","children":null,"spread":false},{"title":"inheritance.jpg <span style='color:#111;'> 20.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明