2007-11-14

XSD to Ecore connection Mapping

关键字: xsd emf ecore
在MBI的intern主题就是做关于Model driven的工作,其中大部分是插件、rcp的开发,用的技术也主要是EMF,GEF和GMF。其中,EMF是基础,领域模型总是要放在最前面。EMF的对建模提供了好几种方式,用UML工具、java annotation,xmi,xsd等。当然,用UML工具,如EclipseUML是最方便的了。可是如果应用要涉及到xml的话,还是用xml schema吧,而且xml schema也是比较简单的。      虽然xsd的学习成本不大,不过对于xsd和ecore的映射问题,我感觉还是有必要学一下。因为用xsd ge ...
2007-11-05

Use Eclipse with keyboard shortcuts

关键字: eclipse 快捷键
使用Eclipse可谓是每天的必需之事,个人感觉和Eclipse在一起的时间要比和女友在一起的时间多。既然这样,那就要深入了解一下Eclipse,那么学会使用快捷键就是第一步。平时在使用的时候也使用过一些快捷键,不过还不全面,在加上本人记性不好是,所以就拿这篇blog来做个记事本吧 在eclipse里,设置快捷键的地方是preferences->General->keys,但是我感觉还是使用Eclipse默认的快捷键合适,不要瞎改。下面是一些常用的快捷键 Organize Imports       &nbs ...
When develop a RCP application, we usually configure the needed plugin at the "Dependencies" tab of plugin.xml(Notice: we only talk about plugin in need, but not extension).   Usually when a RCP project is created, there are only two plugin needful, ...