简体   繁体   English

在Eclipse Indigo中阅读UML模型?

[英]Reading UML Model in Eclipse Indigo?

I am a newbie in Eclipse Indigo. 我是Eclipse Indigo的新手。 Actually, my task is to Develop a PLUGIN which will READ THE UML MODELS through the ECLIPSE INDIGO. 实际上,我的任务是开发一个插件,该插件将通过ECLIPSE INDIGO 读取UML模型 ie, When i run that plugin IT SHOULD READ EVERY THING IN THAT UML MODEL, such as CLASSES, METHODS etc., So can i get any guidelines for this ?? 即,当我运行该插件时, 它应该阅读UML模型中的所有内容,例如类,方法等,因此我可以得到有关此的任何指导吗? May i get any kind of sample coding for this ?? 我可以为此获得任何示例代码吗?

Thanks 谢谢

Sriram R. 斯里拉姆河

There are likely to be several existing eclipse plug-ins that will do what you're asking, so I would suggest looking at these before committing to create your own plugin. 可能有几种现有的eclipse插件可以满足您的要求,因此我建议在致力于创建自己的插件之前先进行研究。 If you are set on making your own plugin, then the solution will depend on the format of the UML files you need to parse. 如果您打算制作自己的插件,那么解决方案将取决于您需要解析的UML文件的格式。 Some of the UML plug-ins use EMF (Eclipse Modelling Framework), in which case you would want to base your plugin on EMF. 一些UML插件使用EMF(Eclipse建模框架),在这种情况下,您希望将插件基于EMF。 Others use XML, in which case you have many options including straight forward parsing or using XML object frameworks like XMLBeans or JAXB. 其他人使用XML,在这种情况下,您有许多选择,包括直接解析或使用XML对象框架(如XMLBeans或JAXB)。 Sorry I can't be more specific but your question is rather vague. 抱歉,我不能更具体,但是您的问题很模糊。

Very unclear what you are looking for. 非常不清楚您要寻找什么。 You should start by searching this site for more information, there are plenty of Eclipse plugins that handles UML, see for example this question . 您应该从搜索该站点开始以获取更多信息,有很多处理UML的Eclipse插件,例如,请参阅此问题 Then when you have evaluated the alternatives, find what you need that the existing plugins dont do. 然后,当您评估了替代方案后,找到现有插件不具备的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM