the relationship among AdapterFactory, Adapter, Adaptee and Viewer
摘要:let's pick the Treeviewer as the case:Ifyou want to show a tree in a dialog, you'd better use the Treeviewer instance.But how to fill in treeviewer, Implementing this requires you have to do many steps as follows:1、You need a object used to fill in the treeviewer, and this object have a refe
阅读全文
posted @
2013-05-31 11:40
silentjesse
阅读(308)
推荐(0)
Why is it necessary for an interface to be "declared" abstract?
摘要:Why is it necessary for an interface to be "declared" abstract?It's not.public abstract interfaceInterface{ \___.__/|'---->Neither this...public void interfacing();public abstract boolean interfacing(boolean really); \___.__/|'----> nor this, are necessary.}Interfaces and
阅读全文
posted @
2013-05-31 09:34
silentjesse
阅读(210)
推荐(0)
eclipse plugin中开发的一些注意事项
摘要:1、Eclipse 中插件开发多语言的实现为了使用.properties 文件,需要在 META-INF/MANIFEST.MF 文件中定义:Bundle-Localization: about这样就会自动加载 about.properties 文件即将.properties的文件名在Bundle-Localization头中声明,这样.properties就会被加载到plugin中去然后在 plugin.xml 文件中,将字符串替换为 %key 就可以了
阅读全文
posted @
2013-05-29 15:45
silentjesse
阅读(355)
推荐(0)