`
Jameslyy
  • 浏览: 385673 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表

Command模式

Command模式,对功能的调用和功能的实现进行解藕。功能的调用者不用知道具体的功能是怎样实现的,使用了接口,具有很大的灵活性,使代码稳健、可维护、可复用。 下面是一个简单的例子,首先建立一个接口ICommand, public interface ICommand {        void execue(); } 然后是两个实现了这个接口和具体功能的实用类: public class Printer implements ICommand {      public void execue() {           System.out.println("printed!&quo ...
SimpleDateFormat 是一个以与语言环境相关的方式来格式化和分析日期的具体类。它允许进行格式化(日期 -> 文本)、分析(文本 -> 日期)和规范化。 http://gceclub.sun.com.cn/Java_Docs/html/zh_CN/api/java/text/SimpleDateFormat.html  http://www.javaworld.com/jw-12-2000/jw-1229-dates.html  
David DeAngelo is the pseudonym of a notable member of an American Seduction community [1] [2] Deangelo is credited with founding "Double Your Dating", a company providing dating advice to men and marketed primarily over the Internet . Within the community he has achieved status akin to a ...
RCP的访问控制在应用中非常的有必要,因为大多数的应用都是多用户多极别。 客户端至少需要在三个层次上进行控制: 一是SWT组件级别,包括按钮、快捷菜单等等。 二是视图级别的控制,这个比较容易,只要在透视图中控制视图就可以了。 三是透视图的控制。 在透视图中包含视图。可以通过Open perspective对话框选择打开透视图,但是这里有这样一个问题,Open perspective对话框中显示的是RCP系统中所有的透视图,而且无法进行配置。在工具栏上可以显示透视图工具栏,非常的方便于用户的使用,一般都需要显示出来。但是这个工具栏带有一个other按钮,打开就是Open perspective对话 ...
1, Show Action only for specific perspectives IContextService contextService = ( IContextService ) PlatformUI.getWorkbench().getService( IContextService.class ); In 3.2 and 3.3, you can create an actionSet with visibility false.  Then   use your perspective factory or org.eclipse.ui.perspectiveExte ...
org.osgi.framework.Bundle An installed bundle in the Framework. A Bundle object is the access point to define the lifecycle of an installed bundle. Each bundle installed in the OSGi environment must have an associated Bundle object. A bundle must have a unique identity, a long, chosen by the Fra ...
org.osgi.framework.BundleContext A bundle's execution context within the Framework. The context is used to grant access to other methods so that this bundle can interact with the Framework. BundleContext methods allow a bundle to: Subscribe to events published by the Framework. Register service ...
XMIND http://www.xmind.cn/splash.html eclipse http://publib.boulder.ibm.com/infocenter/radhelp/v6r0m1/topic/org.eclipse.platform.doc.user/reference/ref-3.htm RCP实践之安全模型 http://www.blogjava.net/leeguannan/archive/2007/06/21/125673.html 创建用于 RCP 应用程序的声明性安全模型 http://www.ibm.com/developerworks/cn/open ...
The mechanics for supporting plug-ins are implemented using the OSGi framework. From this standpoint, a plug-in is the same thing as an OSGi bundle. The bundle and its associated classes specify and implement the process for Java class-loading, prequisite management, and the bundle's life-cycle. For ...
应用最广的由两种种1. Rational Rose,它是ibm的 。2.Microsoft的 Microsoft Office Visio® 2003 3.Enterprise Architect。还有其他工具如PowerDesigner等 1.Rational Rose是一种基于UML的建模工具。在面向对象应用程序开发领域,Rational Rose是影响其发展的一个重要因素。Rational Rose自推出以来就受到了业界的瞩目,并一直引领着可视化建模工具的发展。越来越多的软件公司和开发团队开始或者已经采用Rational Rose,用于大型项目开发的分析、建模与设计等方面。 从使用的角 ...
css skills http://blog.csdn.net/kbh1983/archive/2007/06/08/1644504.aspx Spring Framework 开发参考手册 http://www.redsaga.com/spring_ref/2.0/html/index.html a java blog http://www.blogjava.net/max/ 什么是Web 2.0 ——下一代软件的设计模式和商业模式 作者:Tim O'Reilly 09/30/2005 原文:What is Web 2.0 http://www.oreilly.com.cn/news/ ...
   作为程序员有太多东西需要学习。软件领域的理论和应用知识飞速的发展着,可以说软件领域也存在着一个摩尔定律。这可苦了程序员们,有如此之多的知识需要学习,如果列出一个清单,估计都会很长很长。忙于学习新的知识和繁重的工作,又要顾着个人的生活。不过对于天才的程序员们,这也可能是一件有意思的事情,有那么多有趣的东西,有那么多的选择,存在着如此之多的智慧的结晶。     从毕业到现在一直都在作软件开发的工作,凭者当初的选择、兴趣爱好和持续的努力不断地前进着。在太多的时候不仅仅是兴趣爱好的问题,工作就要承担责任,做项目就要平衡进度和质量,就要团队的合作与共同的努力。     也列出一个学习的清单: ...
理想的追求和工作的热情。 是工作的进度还是创造价值。 人之间的差异来源于业余时间。 突然觉察到这个世界上的门一扇一扇的关上了。 “人类的罪恶有半数是由于害怕生活无趣所引起的。” ----勃兰特.罗素 在工作中才能找到自身的价值。或者说在创作中才能感觉到价值和意义的存在。 「快乐若要长久,必须去寻求它的意义,只有有意义的快乐才会带来心灵的满足。」 不如自己做一个希望的种子。这个希望,一个给自己,一个给别人。 一是认识自己的资产;二是我有能力给。有能力付出,是一种快乐的能力。很多人,都是他们先抛弃了自己,间接的抛弃了别人。 一个人如果发挥他全部的聪明才智,我想足以创造奇迹。问题是大 ...
《Ruby for Rails》(David Black著) http://www.manning.com/black/ 《Ruby for Rails中文版》 http://book.csdn.net/bookfiles/393/ 《Agile Web Development with Rails》(第二版,Dave Thomas、David Heinemeier Hansson等著) http://www.pragmaticprogrammer.com/titles/rails/index.html 《Ruby for Rails中文版》 http://book.csdn.n ...
http://blog.csdn.net/thebesghost/archive/2006/10/11/1330905.aspx
Global site tag (gtag.js) - Google Analytics