﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-程序人生-随笔分类-软件工程</title><link>http://www.blogjava.net/zuroc/category/580.html</link><description /><language>zh-cn</language><lastBuildDate>Thu, 01 Mar 2007 18:26:07 GMT</lastBuildDate><pubDate>Thu, 01 Mar 2007 18:26:07 GMT</pubDate><ttl>60</ttl><item><title>RCP(Rich Client Platform)入门(1) </title><link>http://www.blogjava.net/zuroc/archive/2005/03/05/1725.html</link><dc:creator>AK747</dc:creator><author>AK747</author><pubDate>Sat, 05 Mar 2005 10:05:00 GMT</pubDate><guid>http://www.blogjava.net/zuroc/archive/2005/03/05/1725.html</guid><wfw:comment>http://www.blogjava.net/zuroc/comments/1725.html</wfw:comment><comments>http://www.blogjava.net/zuroc/archive/2005/03/05/1725.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/zuroc/comments/commentRss/1725.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/zuroc/services/trackbacks/1725.html</trackback:ping><description><![CDATA[http://blog.csdn.net/chenyun2000/archive/2004/08/19/79168.aspx<BR><BR>
<DIV class=postTitle><A href="http://blog.csdn.net/chenyun2000/archive/2004/08/19/79168.aspx" id=viewpost.ascx_TitleUrl>RCP(Rich Client Platform)入门(1)</A> </DIV>
<DIV class=postText>
<DIV>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN">1</SPAN></B><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN">、</SPAN></B><B><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Eclipse </SPAN></B><B><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">和</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN">RCP</SPAN></B><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN">概述</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; FONT-SIZE: 12pt; mso-fareast-language: ZH-CN"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">（</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">1</SPAN></B><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">）什么是</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">RCP<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">RCP </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">（</SPAN><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">Rich Client Platform</SPAN><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">）</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">提供了一个通用的</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> Eclipse </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">工作台，允许开发人员扩展和构造自己的应用程序</SPAN><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">一个</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">RCP</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">应用程序包括至少一个定制插件，同时使用与</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> Eclipse 3.0 IDE</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">相同的用户界面元素</SPAN><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">（</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">2</SPAN></B><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">）</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">SWT</SPAN></B><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">和</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">JFace<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">SWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">（</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Standard Widget Toolkit</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">）：提供一个与平台无关的</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> API</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">，与操作系统的本地窗口环境紧密集成；</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">SWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">方法提供开发人员使用跨平台</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">API</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">实现“</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">feel-like</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">”本地桌面应用程序的解决方案；该工具箱克服了开发人员在使用</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> Java AWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">或者</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">JFC</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">时面临的许多设计和实现权衡</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">JFace </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">：提供一个与平台无关的用户界面</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> API</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">；它扩展了</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> SWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">并能与</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> SWT </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">交互操作；该库提供了一系列的组件和实用工具，来简化开发</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> SWT </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">用户界面中的许多公共任务；该工具箱包括许多扩展</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> SWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">的工具类，来提供数据视图、向导和对话框组件、文本操作，以及图像和字体组件</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">SWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">和</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">JFace</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">已经包含在</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Eclipse 3.0</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">中，在开发</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">RCP</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">应用程序可以使用</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">SWT</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">和</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">JFace<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">（</SPAN></B><B><SPAN lang=EN-US style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">3</SPAN></B><B><SPAN lang=ZH-CN style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN">）</SPAN></B><B><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Eclipse</SPAN></B><B><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">的插件体系结构</SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt"><B><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"></SPAN></B><B><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></B>&nbsp;<IMG align=center onload="javascript: img_auto_size(this,500,true);" src="http://openjavaproject.blogdriver.com/openjavaproject/inc/plugin.gif"></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">除了组成</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> Eclipse </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">平台运行环境的基本文件之外，</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Eclipse </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">的其它所有功能都是通过使用插件来实现的</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">插件是开发人员向环境添加新的功能所使用的基本构造块</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Eclipse </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">运行环境负责管理工作台内部插件的生命周期</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">特定环境的所有插件都位于</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">RCP </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">应用程序目录结构的</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">plugin</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">文件夹中</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">当执行操作时，</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">Eclipse </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">运行环境会发现所有可用插件，并使用该信息创建一个全局的</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">plugin</SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">注册表</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">要让插件参与到工作台内部，插件必须定义一组扩展</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">扩展可以直接将功能添加到基础的通用工作台中，或者扩展其他已有的扩展</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0mm 0mm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: list 21.0pt; mso-list: l0 level1 lfo1"><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: Wingdings; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: SimSun">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">每个扩展都在插件的清单文件中定义的，该</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> XML </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">文件描述了在</SPAN><SPAN lang=EN-US style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt"> Eclipse </SPAN><SPAN lang=ZH-CN style="COLOR: black; FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-bidi-font-size: 10.0pt">运行中所有扩展是如何相互操作的，并且定义了必需的依存关系</SPAN></P></DIV></DIV><img src ="http://www.blogjava.net/zuroc/aggbug/1725.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zuroc/" target="_blank">AK747</a> 2005-03-05 18:05 <a href="http://www.blogjava.net/zuroc/archive/2005/03/05/1725.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>