2008 年文章归档
共 34 篇文章
莘县话
昨天 叫 夜里个 前天 叫前了个 晚上 叫 哄上 早晨 叫 清起来 下午 叫 天西 从前 叫 每遭 中午 叫 晌午头上 今天 叫 今哩个 过年 叫 年下 早晨 叫 清起来 膝盖 叫 搁拉拜子 头 叫 脑袋刮子 下巴 叫 嘴把子 腋窝 叫 咯扎窝 蹲着 叫 估几着 骗 叫 胡弄 骂人 叫 "呟(juan)人 干什么去了 叫 咋起类 做饭 叫 揍饭 壁虎 叫 蟹马虎子 驼背 叫 络锅腰 花生 叫 长果 or 落身 好玩 叫 挺得(deī)or 些得!! 打架 叫 各气 你太好了 叫 "你砸赠好安" 秸秆 叫 柴火 蛇 叫 长虫 提水 叫 低楼水 水桶 叫 捎 喝水 叫 喝飞 说话 叫 拂话 睡觉…
2008-12-08 21:46 · 杂七杂八
正则表达式
以下内容转自百度百科: http://baike.baidu.com/view/94238.htm &p=9a6fd45f86cc4af443be9b7e54&user=baidu 正则表达式之道 原著:Steve Mansour sman@scruznet.com Revised: June 5, 1999 (copied by jm /at/ jmason.org from http://www.scruz.net/%7esman/regexp.htm, after the original disappeared! ) 翻译:Neo Lee neo.lee@gmail.com 2004…
2008-09-14 23:35 · 杂七杂八
怎样让你的插件功能部件出现在Eclipse的about对话框中
1.首先要有一个 功能部件项目 ,并且设置其ID与插件项目相同 或者 设置其Branding plug-in为为你的plugin。 2. 插件项目 下,必须有about.ini文件。具体内容可以参考: http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/guide/product_configfeature.htm?resultof=%22%61%62%6f%75%74%2e%69%6e%69%22%20 .
2008-09-09 21:48
关于在插件开发中遇到的NoClassDefineFound异常。
情况是: 1.两个插件,插件B依赖于插件A,并且使用了A中的类。 2.编译正常通过,运行时报NoClassDefineFound异常。 经过反复检查,终于发现,是因为在插件A的start方法中调用某些方法的时候遇到异常没有处理,导致插件A启动失败,于是报错。
2008-09-09 21:46
Eclipse CDT
最近下载了一个cdt,安装完以及所需的工具软件后,始终无法正确build一个HelloWorld程序,上网搜索后,重新以UpdateManager的方式进行安装,重装后一切正确。 不知道这插件做了什么机关。。。
2008-09-08 23:44 · C/C++
Eclipse的Babel项目
Eclipse的Babel项目是供个人对Eclipse的国际化贡献自己力量的一个项目,在刚开始的时候,我看到这个项目中简体中文的翻译进度落后于日本等其他国家,感到很郁闷,想我十几亿的大国,怎么能这样。 前两天再去看的时候,发现简体中文的进度已经排在第一了,也许不久的将来,我们就能够看到3.3和3.4甚至于更高版本的Eclipse中文语言包了 :)
2008-07-31 21:03 · 杂七杂八
代理访问WebService
不知道大家有没有遇到公司需要访问外网的webservice,但公司内部有代理,必须通过代理访问。 再axis中提供了很方便的方法来设置http proxy。 我们在用axis client调用远程webservice时只要加入下面代码即可: AxisProperties.setProperty(http.proxyHost,$your proxy host); AxisProperties.setProperty(http.proxyPort,$proxy port); AxisProperties.setProperty(http.proxyUser,$your username );(如…
2008-07-29 13:42 · Core Java
关于在插件开发中遇到的NoClassDefineFound异常。
情况是: 1.两个插件,插件B依赖于插件A,并且使用了A中的类。 2.编译正常通过,运行时报NoClassDefineFound异常。 经过反复检查,终于发现,是因为在插件A的start方法中调用某些方法的时候遇到异常没有处理,导致插件A启动失败,于是报错。
2008-07-18 15:25 · Eclipse Plugins
关于使用Junit对Eclipse插件项目进行单元测试。
1.创建一个插件测试项目;即创建一个普通的插件项目。 2.添加依赖项。 添加被测试插件项目和org.junit4(或者org.junit)两个到插件依赖项里面。 3.被测试项目要在runtime页里,指明导出需要被测试的包。 4.写测试用例。 5.run-->run as-> Junit plug-in test. 参考资料: FAQ What is a PDE JUnit test? FAQ_What_is_JUnit? Eclipse: Building Commercial-Quality Plug-ins, Second Edition
2008-07-16 15:53 · Eclipse Plugins
关于Eclipse插件的JUnit测试。
1.创建一个插件测试项目;即创建一个普通的插件项目。 2.添加依赖项。 添加被测试插件项目和org.junit4(或者org.junit)两个到插件依赖项里面。 3.被测试项目要在runtime页里,指明导出需要被测试的包。 4.写测试用例。 5.run-->run as-> Junit plug-in test. 参考资料: FAQ What is a PDE JUnit test? FAQ_What_is_JUnit? Eclipse: Building Commercial-Quality Plug-ins, Second Edition
2008-07-16 15:38
【转】Eclipse CVS _ HOW TO
CVS Howto From Eclipsepedia Jump to: navigation , search There are several ways to get the source for the Eclipse projects. Most developers are actually developing their own plug-ins and are interested in browsing the Eclipse source and using it during debugging. For this, you can either browse the…
2008-07-02 11:12 · Eclipse Plugins
怎样让你的插件功能部件出现在Eclipse的about对话框中
1.首先要有一个 功能部件项目 ,并且设置其ID与插件项目相同 或者 设置其Branding plug-in为为你的plugin。 2. 插件项目 下,必须有about.ini文件。具体内容可以参考: http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/guide/product_configfeature.htm?resultof=%22%61%62%6f%75%74%2e%69%6e%69%22%20 .
2008-06-16 21:05 · Eclipse Plugins
Object *** is not contained in a resource.
I get a DanglingHREFException: e.g., "org.eclipse.emf.ecore.xmi.DanglingHREFException: The object 'com.example.Foo@2f5dda ()' is not contained in a resource." What do I need to do? All objects need to be contained by a resource in order to be serialized. That implies that for EObject x to be serial…
2008-06-11 17:27 · EMF
【转】GMF Constraints
GMF Constraints From Eclipsepedia Jump to: navigation , search Contents [ hide ] 1 Expression Support 1.1 OCL 1.2 regexp 1.3 nregexp 1.4 Java 2 Audits 2.1 DomainElementTarget 2.2 NotationElementTarget 2.3 DiagramElementTarget 2.4 DomainAttributeTarget 2.5 AuditedMetricTarget 3 Metrics 4 Link Constr…
2008-06-06 16:35 · GMF
【转】Object Constraint Language
Object Constraint Language OMG Available Specification Version 2.0 formal/06-05-01
2008-06-06 13:23 · GMF
【转】Open an editor on something that is not a file
转自EclipseFAQ Since 3.3 you can use the new EFS support to open an text editor on a file store that's backed by any kind of EFS using IDE.openEditorOnFileStore(page, fileStore) . Most editors will accept as input either an IFileEditorInput or an IStorageEditorInput . The former can be used only for …
2008-06-05 21:17 · Eclipse Plugins
【转】GMF Labels
GMF Labels From Eclipsepedia Jump to: navigation , search Labels represent pieces of text possibly associated with icons on diagram surface. Text may be edited using inplace facility. There are many possibilities to construct labels but all of them are grouped in four usecases: 1. "feature based la…
2008-06-05 21:14 · GMF