摘要: net.sf.yari.eclipse.EclipseInspectorViewPartThrough the outline of EclipseInspectorViewPart, we can get known how the above "Eclipse Inspector" view is created and what is happening when clicking some buttons or view opening or refreshing or setting memento, etc.plugin.xml i... 阅读全文
posted @ 2013-09-03 15:37 iDragon 阅读(369) 评论(0) 推荐(0)
摘要: Plug-in metedata tell eclipse runtime kernel how to create a expected object and set its perperties,and assign these objects to defined interfce object, make these interface objectscommunicate with each other.org.eclipse.compare/plugin.xml 1 2 3 4 5 6 7 8 9 10 11 1... 阅读全文
posted @ 2013-09-03 14:21 iDragon 阅读(976) 评论(0) 推荐(0)
摘要: “作为一名C++程序员,我们早已掌握了面向对象Object-oriented Programming程序设计的基本概念,而且Java的语法无疑是非常熟悉的。事实上,Java本来就是从C++衍生出来的。” Drive from / Stem from / Originate from / follow / have or take origin from最大的障碍在于速度:解释过的Java要比C的执行速度慢上约20倍。无论什么都不能阻止Java语言进行编译。写作本书的时候,刚刚出现了一些准实时编译器,它们能显著加快速度。当然,我们完全有理由认为会出现适用于更多流行平台的纯固有编译器,但假若没有那 阅读全文
posted @ 2013-09-03 09:15 iDragon 阅读(282) 评论(0) 推荐(0)
摘要: This appendix contains suggestions to help guide you in performing low-level program design and in writing code.Naturally, these are guidelines and not rules. The idea is to use them as inspirations and to remember that there are occasional situations where they should be bent or broken.Design with 阅读全文
posted @ 2013-09-03 09:05 iDragon 阅读(227) 评论(0) 推荐(0)
摘要: While a 100% pure Java solution is nice in principle, realistically, for an application, there are situations in which you will want to write or use code written in another language. Such code is usually called native code.There are three obvious reasons why that may be the right choice:You have sub 阅读全文
posted @ 2013-09-03 08:47 iDragon 阅读(554) 评论(0) 推荐(0)
摘要: 到目前为止,读者应对对象的“传递”有了一个较为深刻的认识,记住实际传递的只是一个句柄。然而准确地说,Java是有指针的!事实上,Java中每个对象(除基本数据类型以外)的标识符都属于指针的一种。但它们的使用受到了严格的限制和防范,不仅编译器对它们有“戒心”,运行期系统也不例外。或者换从另一个角度说,Java有指针,但没有传统指针的麻烦。我曾一度将这种指针叫做“句柄”,但你可以把它想像成“安全指针”。将句柄传递进入一个方法时,指向的仍然是相同的对象。“别名” alias 意味着多个句柄都试图指向同一个对象,就象前面的例子展示的那样。若有人向那个对象里写入一点什么东西,就会产生别名问题。若其他句柄 阅读全文
posted @ 2013-09-03 08:29 iDragon 阅读(288) 评论(0) 推荐(0)