锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲色图黄色小说,国产成人精品日本亚洲专,亚洲人成人无码.www石榴http://www.tkk7.com/Andyluo/category/1762.html<table><tr><td><font color="blue">閿葷偧韜綋銆佹彁鍗囨妧鑳姐佷慨韜吇鎬?lt;/font><br> 璁ㄨEclipse, Java, Linux, Google浜у搧<br> </td><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td> <script type="text/javascript"><!-- google_ad_client = "pub-9685945790422740"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; google_ad_channel =""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></td></tr></table>zh-cnFri, 29 Jun 2007 21:26:10 GMTFri, 29 Jun 2007 21:26:10 GMT60OSGi妗嗘灦瑙勮寖絎?鐗?涔?綆瑕佷粙緇?/title><link>http://www.tkk7.com/Andyluo/archive/2007/06/29/OSGi_Introduction.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Fri, 29 Jun 2007 06:18:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2007/06/29/OSGi_Introduction.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/127065.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2007/06/29/OSGi_Introduction.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/127065.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/127065.html</trackback:ping><description><![CDATA[     鎽樿: Eclipse浠?.0鐗堟湰寮濮嬮噰鐢ㄥ熀浜嶰SGi鐨勬彃浠朵綋緋葷粨鏋勩傝繖綃囨枃绔犵畝瑕佷粙緇峅SGi妗嗘灦鐨勫姛鑳芥灦鏋勩侽SGi妗嗘灦鏄疧SGi鏈嶅姟騫沖彴瑙勮寖鐨勬牳蹇冮儴鍒嗐傝妗嗘灦鎻愪緵浜嗕竴涓ぇ浼楀寲錛屽畨鍏紝鍙鐞嗙殑騫沖彴錛屽彲浠ユ敮鎸佸彲鎵╁睍鍙笅杞藉簲鐢ㄦ彃浠剁殑閮ㄧ講錛屾垜浠О榪欎簺搴旂敤鎻掍歡涓築undle銆?nbsp; <a href='http://www.tkk7.com/Andyluo/archive/2007/06/29/OSGi_Introduction.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/Andyluo/aggbug/127065.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2007-06-29 14:18 <a href="http://www.tkk7.com/Andyluo/archive/2007/06/29/OSGi_Introduction.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Eclipse WTP鐨凚ug錛?/title><link>http://www.tkk7.com/Andyluo/archive/2006/04/18/41588.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Tue, 18 Apr 2006 02:10:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2006/04/18/41588.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/41588.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2006/04/18/41588.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/41588.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/41588.html</trackback:ping><description><![CDATA[ <p>鏄ㄥぉ鐪嬩簡IBM <a class="" title="" target="_blank">Developerworks</a>涓婁竴綃囦粙緇峎TP鐨?a class="" title="Eclipse Web 宸ュ叿騫沖彴 V1.0 綆浠? target="_blank">鏁欑▼</a>錛屽鐓х潃浣跨敤WTP1.0瀹屾垚涓涓狫2EE紺轟緥涔︾搴旂敤紼嬪簭錛屾湇鍔″櫒浣跨敤<a class="" title="" target="_blank">JBoss</a>錛屾暟鎹簱鐢ㄧ殑鏄?a class="" title="" target="_blank">Derby</a>錛孍clipse鐗堟湰3.1.1銆?br /><br />鍦ㄦ柊寤篔Boss Server鏃訛紝鍥犱負(fù)鏈満涓婂凡鏈塗omcat鍗犵敤浜?080绔彛錛堟湭鍚姩錛夛紝鎵浠ュ皢鐩戝惉绔彛鐢遍粯璁ょ殑8080鏀規(guī)垚浜?081錛岀粨鏋滆繍琛屾湇鍔″櫒鍚庯細(xì)JBoss榪涚▼鏄庢槑姝e父鍚姩錛堟牴鎹瓹onsole寰楀嚭錛夛紝浣哤TP鐨凷ervers瑙嗗浘鍗存彁紺衡淭imeout waiting for JBOSS 3.2.3 to start. Server did not start after 50000s鈥濓紝鏈嶅姟鍣ㄧ殑鐘舵佷篃鏄劇ずStopped銆備絾鏀規(guī)垚榛樿鐨?080灝變竴鍒囨甯搞傛庝箞鑳藉嚭榪欑闂鍛紵闅鵑亾WTP灝辨槸閫氳繃鏌ヨ8080鏈夋病鏈塉Boss鍦ㄧ洃鍚紝浠庤屽垽鏂璊Boss鏄惁鍚姩鎴愬姛錛熷己鐑堟鐤戣繖鏄竴涓狟ug錛屼笉鐭ラ亾鍦ㄦ渶鏂扮増Eclipse鍜學(xué)TP鏀硅繃鏉ユ病鏈?img height="19" src="http://www.tkk7.com/Emoticons/confused_smile.gif" width="19" border="0" /><br /><br /><strong>PS</strong>: 鐢ㄨ佺増鐨凟clipse3.1.1鏉ュ紑鍙戜篃鏄揩涓嶅緱宸詫紝鏈潵宸插畨瑁呬簡<a class="" title="" target="_blank">Callisto</a>鏈鏂?strong>瀹屾暣</strong>鐗堬紙Eclipse3.2M5錛夛紝浣嗗湪J2EE閫忚鍥句腑灝辨槸鐪嬩笉鍒癊JB欏圭洰鍒嗙被錛屾柊寤篍JB欏圭洰涔熸姏鍑鴻嫢騫蹭釜寮傚父錛岀湅Log鍙戠幇鏄疛Face鎻掍歡閲屾姏鍑轟簡NullPointerException錛屾諱箣鏄仛涓嶄笅鍘諱簡錛屼笉鐭ラ亾榪欐牱鐨凜allisto鎬庝箞浼?xì)绠桵ileStone錛? (<br /><br />閭d釜50000s搴旇鏄?0000ms鍚э紝50000s鍙槸13鏃?3鍒嗗晩錛乛_^</p> <img src ="http://www.tkk7.com/Andyluo/aggbug/41588.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2006-04-18 10:10 <a href="http://www.tkk7.com/Andyluo/archive/2006/04/18/41588.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Eclipse BIRT鎶ヨ〃涓嶈兘棰勮鐨勮В鍐沖姙娉?/title><link>http://www.tkk7.com/Andyluo/archive/2006/04/09/40113.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Sun, 09 Apr 2006 10:44:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2006/04/09/40113.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/40113.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2006/04/09/40113.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/40113.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/40113.html</trackback:ping><description><![CDATA[ <p>棰勮鎶ヨ〃鏃舵彁紺烘棤娉曟樉紺虹綉欏碉紝鏌ョ湅D:\eclipse\workspace\.metadata\.log鏂囦歡鍚庡彂鐜伴敊璇細(xì)<br />!MESSAGE <strong>Exception occurred starting the embedded application server.<br /></strong>!STACK 0<br />org.apache.commons.logging.LogConfigurationException: <br />org.apache.commons.logging.LogConfigurationException: <br />org.apache.commons.logging.LogConfigurationException:聽<br />聽聽聽聽聽<strong>Class org.apache.commons.logging.impl.Log4JLogger does not implement Log<br /></strong>...<br /><br />鎼滅儲(chǔ)plugins鐩綍涓嬬殑log鏂囦歡錛屽彂鐜版棦鏈塋og4j鍙堟湁CommonsLogging錛屽皢plugins鐩綍涓嬬殑org.apache.jakarta_log4j_logging_version.jar縐誨嚭Eclipse鐩綍錛堢Щ鍑篊lasspath錛夛紝閲嶅惎鍔‥clipse錛屽氨鍙互棰勮浜嗐?br /><br />鍏朵粬Web鏈嶅姟鍣ㄤ笉鑳藉惎鍔紙濡侲clipse鐨凥elp鎵撲笉寮錛孞Boss鎻愮ず涓婅堪Log寮傚父錛夌殑閿欒涔熷彲浠ュ弬鐓т互涓婃柟娉曡В鍐熾?/p> <img src ="http://www.tkk7.com/Andyluo/aggbug/40113.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2006-04-09 18:44 <a href="http://www.tkk7.com/Andyluo/archive/2006/04/09/40113.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[澶囦喚from blueline]Keyboard driven Eclipse [Terse Systems](zz)http://www.tkk7.com/Andyluo/archive/2006/02/16/31012.html緗楁槑緗楁槑Thu, 16 Feb 2006 06:09:00 GMThttp://www.tkk7.com/Andyluo/archive/2006/02/16/31012.htmlhttp://www.tkk7.com/Andyluo/comments/31012.htmlhttp://www.tkk7.com/Andyluo/archive/2006/02/16/31012.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/31012.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/31012.htmlI had to get obsessed with keyboard shortcuts when using IDEA.
Apparently some of that must have rubbed off, because
lately I've been looking for shortcuts to methods and classes in Eclipse 3.0.

There are two traversal shortcuts I use all the time: Ctrl-O and Ctrl-T.

Ctrl-O shows the methods of the class in the current editor in a popup.
Hit Ctrl-O when the popup is up, and you'll see all the inherited
methods as well. This is incredibly useful, as it allows me to bounce
between methods even when I'm not sure which class is implementing
which method.

Ctrl-T shows the type hierarchy of a selected type in a popup. This is the
complement to Ctrl-O. When I'm sure of what
interface I'm looking at, but I really want to pick a particular implementation
and want to go trawling through that
implementation for a bit, Ctrl-T will show me all the subclasses or
implementors for that type.

There is a third option which I haven't used much. Ctrl-F3 shows the
methods of a selected type in a popup. I can see how this can be useful,
but in practice I have a pretty good idea of which methods are attached
 to which classes and Ctrl-Space fills most of my needs there.

However, I have been missing a couple of things. These are the shortcuts
I just found recently, and are very good for hitting up random files:

Ctrl-E shows a popup list of all the open files.
Ctrl-Shift-T creates a dialog box that you can use to navigate to any class.
Ctrl-Shift-R creates a dialog box that shows any resource in the project
(basically any file.)
Alternately, there's an Eclipse plugin called GotoFile which seems to behave
a little more "IDEAish".

Finally, I found a plugin which actually integrates Eclipse with Windows!
Eclipse Platform Extensions is actually functional and useful, although
you wouldn't guess it by looking at the website. Although it says that
it provides a "System GC" functionality, it actually does far more,
like provide a "Open in Windows Explorer" and
"Open Command Window here" dialog to the Package Explorer.



緗楁槑 2006-02-16 14:09 鍙戣〃璇勮
]]>
[澶囦喚from blueline]Installing the help system as an infocenterhttp://www.tkk7.com/Andyluo/archive/2006/02/16/31011.html緗楁槑緗楁槑Thu, 16 Feb 2006 06:08:00 GMThttp://www.tkk7.com/Andyluo/archive/2006/02/16/31011.htmlhttp://www.tkk7.com/Andyluo/comments/31011.htmlhttp://www.tkk7.com/Andyluo/archive/2006/02/16/31011.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/31011.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/31011.htmlInstalling the help system as an infocenter

You can allow your users to access the help system over the Internet or an intranet, by
installing the infocenter and the documentation plug-ins on a server. Clients view help
by navigating to a URL, and the help system is shown in their web browser. The
infocenter help system can be used both for client applications and for web
applications, either of which can have their help accessed remotely. All features
of help system except infopops and active help are supported.

The infocenter help system allows passing number of options that can be used to
customize various aspects of the infocenter. The following options are supported:

  • -eclipsehome eclipseInstallPath - specifies Eclipse installation directory.
    This directory is a parent to "plugins" directory and eclipse executable.
    The option must be provided, when current directory from which infocenter
    is launched, is not the same as Eclipse installation directory.
  • -data instanceArea - specifies a path that Eclipse can use to write instance data.
    The value can be an absolute path of a directory, or a path relative to Eclipse
    installation directory. The option must be provided when Eclipse is installed in
    the read only location, or has been customized to override osgi.instance.area
    or osgi.instance.area.default properties.
  • -host helpServerHost - specifies host name of the interface that help server
    will use. It overrides host name specified in the application server plugin preferences.
  • -port helpServerPort - specifies port number that help server will use. It overrides
    port number specified in the application server plugin preferences.
  • -locales localeList - specifies a list of locales that infocenter will recognize and
    provide a customized content for. If the option is not specified, infocenter will
    build navigation, and index documents for each preferred locale of the browsers
    accessing the infocenter. When the option is present, locales from browser
    requests will be matched with locales in the list. If browser preferred locale
    does not exist in the list, but its language part does, it will be used. Subsequently,
    additional browser locales in decreased order of preference will be matched
    against the list. If none of the browser locales (or its language part) matches any
    locale on the list, the client will be served content in the default locale - server
    locale or locale passed with -nl option. For example using options
    -nl en -locales de en es fr it ja ko pt_BR zh_CN zh_TW
    will cause infocenter operating in 10 locales. All other locales will receive content
    for en locale.
  • -dir rtl - sets right-to-left rendering direction of help UI in the browser.
  • -noexec - indicates that Eclipse executable should not be used. You may need to use
    this option when running on a platform for which Eclipse executable is not available.
  • Additionally, most options accepted by Eclipse executable can be passed. They are
    especially useful during debugging and for applying customization to Eclipse.
    For example, passing options
    -vmargs -Xmx256M 
    increases memory available to the infocenter and will allow serving a larger book collection.

Installation/packaging

These steps are for the help system integrator and are not meant to address all the possible scenarios.
 It is assumed that all your documentation is delivered as Eclipse plug-ins and, in general, you are
familiar with the eclipse help system.

  1. Download the Eclipse Platform Runtime Binary driver from www.eclipse.org.
  2. Install (unzip) the driver in a directory, d:\myApp. This will create an eclipse sub-directory,
    d:\myApp\eclipse that contains the code required for the Eclipse platform
    (which includes the help system).

How to start or stop infocenter from command line

The org.eclipse.help.standalone.Infocenter class has a main method that you can use to
launch infocenter from a command line. The command line arguments syntax is:

-command start | shutdown | [-eclipsehome eclipseInstallPath] 
[-data instanceArea] [-host helpServerHost] [-locales localeList]
[-port helpServerPort] [-dir rtl] [-noexec] [platform options]
[-vmargs JavaVMarguments]

To start an infocenter on port 8081 issue a start command by running

java -classpath d:\myApp\eclipse\plugins\org.eclipse.help.base_3.1.0.jar 
org.eclipse.help.standalone.Infocenter -command start -eclipsehome
d:\myApp\eclipse -port 8081

To shut the infocenter down issue a shutdown command by running

java -classpath d:\myApp\eclipse\plugins\org.eclipse.help.base_3.1.0.jar 
org.eclipse.help.standalone.Infocenter -command shutdown -eclipsehome
d:\myApp\eclipse

Using the infocenter

Start the web server. Point a web browser to the path "help" web application running on a port
specified when starting the infocenter.  On the machine the infocenter is installed, this would be
http://localhost:8081/help/.

How to start or stop infocenter from Java

When including infocenter as part of another application, it may be more convenient to start it
and stop using Java APIs instead of using system commands. Follow the steps if it is the case:

  1. Make sure d:\myApp\eclipse\plugins\org.eclipse.help.base_3.1.0.jar is on your app classpath.
    The class you use to start, and shut down the infocenter isorg.eclipse.help.standalone.Infocenter.
  2. Create an array of String containing options that you want to pass to the infocenter. Typically,
    the eclipsehome and port options are needed.
    String[] options = new String[] { "-eclipsehome", "d:\\myApp\\eclipse" ,
    "-port", "8081" };
  3. In your application, create an instance of the Help class by passing the options.
    Infocenter infocenter = new Help(options); 
  4. To start the help system:
    helpSystem.start();
  5. To shut the infocenter down:

    helpSystem.shutdown(); 

Making infocenter available on the web

Eclipse contains a complete infocenter and does not require other server software to run.
However, in unsecure environment like Internet, it is recommended infocenter is not accessed
directly by clients, but is made available through an HTTP server or an application server.
Most servers come with modules or servlets for delegating certain request to other web
resources. For example, one may configure a proxy module of Apache HTTP Server to
redirect requests made to http://mycompany.com/myproduct/infocenter to
http://internalserver:8081/help that runs an infocenter. Adding the lines

LoadModule proxy_module modules/ApacheModuleProxy.dll
ProxyPass /myproduct/infocenter http://internalserver:8081/help
ProxyPassReverse /myproduct/infocenter http://internalserver:8081/help
to conf/httpd.conf file of Apache server running mycompany web site accomplishes this.

Some versions of Apache HTTP server, may contain AddDefaultCharset directive enabled in
configuration file. Remove the directive or replace with

AddDefaultCharset Off
to have browsers display documents using correct character set.

Running multiple instance of infocenter

Multiple instances of infocenter can be run on a machine from one installation. Each started
instance must use its own port and be provided with a workspace, hence -port and -data
options must be specified. The instances can serve documentation from different set of plug-ins,
by providing a valid platform configuration with -configuration option.

If -configuration is not used and configuration directory is shared among multiple infocenter
instances, with overlapping set of locales, it must be ensured that all search indexes are created
by one infocenter instance before another instance is started. Indexes are saved in the configuration
directory, and write access is not synchronized across infocenter processes.

[Optional] Installing a minimal set of plug-ins

The infocenter does not require the entire  Eclipse Platform package. It is possible to run the
infocenter with the following plug-ins (located in the  eclipse\plugins directory):

org.apache.lucene
org.eclipse.core.runtime
org.eclipse.help
org.eclipse.help.appserver
org.eclipse.help.base
org.eclipse.help.webapp
org.eclipse.osgi
org.eclipse.tomcat
org.eclipse.update.configurator

Some documentation plug-ins may have dependencies on other plug-ins, usually by specifying required
plug-ins in their plugin.xml. The dependent plug-ins need to be installed on the infocenter as well.
Additionally, plug-ins that were designed for earlier than 3.0 version of Eclipse implicitly require an org.eclipse.core.runtime.compatibility being present plug-in to work.

Infocenter plug-ins can be updated without restarting the infocenter, using commands explained
in Updating a running infocenter from command line topic. To use this functionality, the minimal
set of plug-ins must include org.eclipse.update.core plug-in.

See Help System Preferences for more information on customizing help system.



緗楁槑 2006-02-16 14:08 鍙戣〃璇勮
]]>
浠ュ墠鍋氱殑涓や釜寮婧愰」鐩紝鍒嗗埆鍩轟簬Java Swing 鍜?Eclipse RCPhttp://www.tkk7.com/Andyluo/archive/2005/12/16/24286.html緗楁槑緗楁槑Fri, 16 Dec 2005 13:06:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/12/16/24286.htmlhttp://www.tkk7.com/Andyluo/comments/24286.htmlhttp://www.tkk7.com/Andyluo/archive/2005/12/16/24286.html#Feedback4http://www.tkk7.com/Andyluo/comments/commentRss/24286.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/24286.html
XmallCharter鏄竴涓熀浜嶫FreeChart搴撶殑鍥捐〃杞歡錛屼豢鐓owerPoint閲岀殑鍥捐〃鍔熻兘錛屾敮鎸侀ゼ鐘跺浘銆佸煙鍥俱佺嚎鐘跺浘銆佹潯褰㈠浘銆?D鏉″艦鍥劇瓑鍥捐〃綾誨瀷錛?00% Java Swing 浠g爜錛岀豢鑹茶蔣浠訛紝瑙e帇緙╁嵆鍙湪Linux銆乄$絳夌郴緇熶笂榪愯銆?BR>
欏圭洰鐜板湪鈥滃瘎灞呪濆湪SourceForge.net涓婏紝鏈鏂扮増鏈槸0.2銆?BR>
鍘誨勾瀛︽牎鐨勫垱鏂扮珵璧涳紙涔熸槸鎸戞垬鏉殑鏍″唴閫夋嫈璧涳級(jí)錛屾瘡涓勘涔愰儴閮借浜や綔鍝侊紝鎴戦『渚挎妸XmallCharter鍜屾枃妗d氦浜嗕笂鍘伙紝榪樺ソ錛屽緱浜嗕釜涓夌瓑濂栵紝褰撴椂榪樻瘮杈冨叴濂嬶紙榪欎釜欏圭洰鏈潵鏄婄晫闈㈣璁°嬭紼嬬殑澶т綔涓氾紝閭f椂鍊欏垰鍒氬畬鎴愶紝鎵嶈姳浜嗕竴涓槦鏈燂紝鎰忓涔嬪枩錛?BR>
欏圭洰緗戝潃錛?A >www.sourceforge.net/projects/xmallcharter

xmall.jpg


絎簩涓槸XBlogger錛屼竴涓熀浜嶦clipse RCP鐨凚log瀹㈡埛绔紝鏄粖騫碔BM鏍″洯縐戞妧鍒涙柊绔炶禌鐨勫弬璧涗綔鍝侊紝浣嗘槸鐢變簬鏌愪簺鍘熷洜錛屾渶緇堟病鑳芥彁浜わ紙55锝烇紝鏃╃偣鍥炲鏍″氨濂戒簡錛夈傛湰鍦版暟鎹簱浣跨敤HSqlDB錛岀洰鍓嶅彧鏀寔Blogger.com錛?Text綾誨瀷鐨勪篃鑳芥敮鎸侊紝浣嗚繕娌″姞涓婏紝鎳掍簡錛夈傛湰鏉ュ簲璇ユ湁涓猈eb Service涓棿灞傦紝浠ュ悗鍙鐨勮瘽鍙兘浼?xì)鍔犱笂锛屽熀鏈灦鏋勫拰鎴睆濡備笅锛堢幇鍦q樻病寮婧愶紝瀹屽杽涓涓嬪厛錛夛細(xì)

鍩烘湰鏋舵瀯錛?BR>
xmall_arch.gif

錛堢敤OpenOffice鎵撳紑鐨刉ord鏂囨。錛屾湁鐐瑰彉褰級(jí)

鎴浘錛?BR>
Xblogger.JPG


緗楁槑 2005-12-16 21:06 鍙戣〃璇勮
]]>
鍦‥clipse Plugin涓墽琛屼換鍔?/title><link>http://www.tkk7.com/Andyluo/archive/2005/10/06/14875.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Thu, 06 Oct 2005 07:26:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2005/10/06/14875.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/14875.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2005/10/06/14875.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/14875.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/14875.html</trackback:ping><description><![CDATA[<P>Job浠h〃涓涓紓姝ユ搷浣溿?BR>瑕佹墽琛岀殑鎿嶄綔鍐欏湪run鏂規(guī)硶閲屻?/P> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">瀹氫箟涓涓狫ob</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000"> AJob </SPAN><SPAN style="COLOR: #0000ff">extends</SPAN><SPAN style="COLOR: #000000"> Job<BR><IMG id=Codehighlighter1_33_203_Open_Image onclick="this.style.display='none'; Codehighlighter1_33_203_Open_Text.style.display='none'; Codehighlighter1_33_203_Closed_Image.style.display='inline'; Codehighlighter1_33_203_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_33_203_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_33_203_Closed_Text.style.display='none'; Codehighlighter1_33_203_Open_Image.style.display='inline'; Codehighlighter1_33_203_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_33_203_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_33_203_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> AJob()<BR><IMG id=Codehighlighter1_51_77_Open_Image onclick="this.style.display='none'; Codehighlighter1_51_77_Open_Text.style.display='none'; Codehighlighter1_51_77_Closed_Image.style.display='inline'; Codehighlighter1_51_77_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_51_77_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_51_77_Closed_Text.style.display='none'; Codehighlighter1_51_77_Open_Image.style.display='inline'; Codehighlighter1_51_77_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top> </SPAN><SPAN id=Codehighlighter1_51_77_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_51_77_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">super</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Andy's Job</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top> }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> IStatus run(IProgressMonitor monitor)<BR><IMG id=Codehighlighter1_127_201_Open_Image onclick="this.style.display='none'; Codehighlighter1_127_201_Open_Text.style.display='none'; Codehighlighter1_127_201_Closed_Image.style.display='inline'; Codehighlighter1_127_201_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_127_201_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_127_201_Closed_Text.style.display='none'; Codehighlighter1_127_201_Open_Image.style.display='inline'; Codehighlighter1_127_201_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align=top> </SPAN><SPAN id=Codehighlighter1_127_201_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_127_201_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  System.out.println(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">This is Andy's Job</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000"> Status.OK_STATUS;<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top> }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV> <P><BR>schedule鍚庯紝浠誨姟鍦ㄥ鉤鍙扮嚎紼嬬瓑寰呴槦鍒椾腑鎺掗槦錛岀瓑寰呰皟搴︽墽琛屻?BR>璋冪敤鏂瑰紡1錛?/P> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">寮傛璋冪敤</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">AJob job </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> AJob();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top>job.schedule(); </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">鍞よ搗騫沖彴綰跨▼鏉ヨ皟搴﹁繖涓狫ob</SPAN></DIV> <P>璋冪敤鏂瑰紡2錛?/P> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008000"><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">緇撴潫鍚庡啀榪愯</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">AJob job </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> AJob();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top>job.schedule();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><IMG src="http://www.tkk7.com/images/dot.gif"> </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"> do some other things.</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">job.join();        </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">block錛岀洿鍒癹ob瀹屾垚鎴栬皟鐢ㄧ嚎紼嬭涓柇</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(job.getResult().isOk())<BR><IMG id=Codehighlighter1_211_244_Open_Image onclick="this.style.display='none'; Codehighlighter1_211_244_Open_Text.style.display='none'; Codehighlighter1_211_244_Closed_Image.style.display='inline'; Codehighlighter1_211_244_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_211_244_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_211_244_Closed_Text.style.display='none'; Codehighlighter1_211_244_Open_Image.style.display='inline'; Codehighlighter1_211_244_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_211_244_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_211_244_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">Job completed with success.</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_251_291_Open_Image onclick="this.style.display='none'; Codehighlighter1_251_291_Open_Text.style.display='none'; Codehighlighter1_251_291_Closed_Image.style.display='inline'; Codehighlighter1_251_291_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_251_291_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_251_291_Closed_Text.style.display='none'; Codehighlighter1_251_291_Open_Image.style.display='inline'; Codehighlighter1_251_291_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_251_291_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_251_291_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">Job did not complete successfully.</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">}</SPAN></SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>鍙栨秷涓涓狫ob錛?BR> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #000000">job.cancel())<BR><IMG id=Codehighlighter1_18_33_Open_Image onclick="this.style.display='none'; Codehighlighter1_18_33_Open_Text.style.display='none'; Codehighlighter1_18_33_Closed_Image.style.display='inline'; Codehighlighter1_18_33_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_18_33_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_18_33_Closed_Text.style.display='none'; Codehighlighter1_18_33_Open_Image.style.display='inline'; Codehighlighter1_18_33_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_18_33_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.tkk7.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_18_33_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align=top> job.join();<BR><IMG src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">cancel鍙兘涓嶄細(xì)绔嬪嵆鎴愬姛錛屾垜浠敤join絳夊緟cancel鎿嶄綔瀹屾垚銆?/SPAN></DIV><img src ="http://www.tkk7.com/Andyluo/aggbug/14875.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2005-10-06 15:26 <a href="http://www.tkk7.com/Andyluo/archive/2005/10/06/14875.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Eclipse Tip: Sharing Java project settings (ZZ)http://www.tkk7.com/Andyluo/archive/2005/07/15/7794.html緗楁槑緗楁槑Fri, 15 Jul 2005 12:05:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/07/15/7794.htmlhttp://www.tkk7.com/Andyluo/comments/7794.htmlhttp://www.tkk7.com/Andyluo/archive/2005/07/15/7794.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/7794.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/7794.htmlThe Eclipse 3.1 has a new feature. Now the Java project settings like Compiler and Code Style can be shared with the entire team using the version control tool.

To do this right click the project in Package Explorer or Navigator view and got to either Java Code Style or Java Compiler options. Check the Enable project specific settings.

This will create a .settings folder in the project root. Eclipse will add and maintain the project specific configuration in this folder. Commit this folder to the version control. Thats it. Now the project settings are shared with the team. When the other team members synchronize with the repository they will get the project settings too. Any team member can update and check in the settings. Cool!



緗楁槑 2005-07-15 20:05 鍙戣〃璇勮
]]>
Eclipse Iconshttp://www.tkk7.com/Andyluo/archive/2005/07/15/7792.html緗楁槑緗楁槑Fri, 15 Jul 2005 11:50:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/07/15/7792.htmlhttp://www.tkk7.com/Andyluo/comments/7792.htmlhttp://www.tkk7.com/Andyluo/archive/2005/07/15/7792.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/7792.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/7792.htmlorg.eclipse.debug.ui/icons
org.eclipse.pde.ui/icons
org.eclipse.jdt.ui/icons
org.eclipse.vcm.ui/icons
org.eclipse.team.ui/icons
org.eclipse.ant.ui/icons
org.eclipse.help.ui/icons
org.eclipse.ui/icons
org.eclipse.ui.views/icons
org.eclipse.ui.console/icons

涓涓瘮杈冨叏鐨処con緗戦〉錛?BR>http://www.codehaus.org/~bwalding/eclipse-icons/

浠ュ悗鎵綞clipse鐨勫浘鐗囧氨鏂逛究浜嗭紝: )

緗楁槑 2005-07-15 19:50 鍙戣〃璇勮
]]>
Eclipse's process monitor & Container Selection Dialoghttp://www.tkk7.com/Andyluo/archive/2005/07/10/7440.html緗楁槑緗楁槑Sun, 10 Jul 2005 02:35:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/07/10/7440.htmlhttp://www.tkk7.com/Andyluo/comments/7440.htmlhttp://www.tkk7.com/Andyluo/archive/2005/07/10/7440.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/7440.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/7440.htmlThe wizard in this code is a standard wizard that displays pages, then generates code in the doFinish method. What is most interesting about this class is that in performFinish, it demonstrates how to interact with Eclipse's process monitor for tasks that take a long time.

/**
   * This method is called when 'Finish' button is pressed 
   * in the wizard. We will create an operation and run it
   * using wizard as execution context.
   
*/

  
public boolean performFinish() {
    final String containerName 
= page.getContainerName();
    final String fileName 
= page.getFileName();
    IRunnableWithProgress op 
= new IRunnableWithProgress() 
    
{
      
public void run(IProgressMonitor monitor) 
          throws InvocationTargetException 
      
{
        
try {
          doFinish(containerName, fileName, monitor);
        }
 catch (CoreException e) {
          
throw new InvocationTargetException(e);
        }
 finally {
          monitor.done();
        }

      }

    }
;
    
try {
      getContainer().run(
truefalse, op);
    }
 catch (InterruptedException e) {
      
return false;
    }
 catch (InvocationTargetException e) {
      Throwable realException 
= e.getTargetException();
      MessageDialog.openError(
          getShell(), 
          
"Error", realException.getMessage());
      
return false;
    }

    
return true;
  }


/*  */
/**
   * The worker method. It will find the container, create
   * the file if missing or just replace its contents, and 
   * open the editor on the newly created file.
   
*/


  
private void doFinish(
      String containerName,
      String fileName,
      IProgressMonitor monitor)
      throws CoreException 
  
{
    
// create a sample file
    monitor.beginTask("Creating " + fileName, 2);
    IWorkspaceRoot root 
= 
        ResourcesPlugin.getWorkspace().getRoot();
    IResource resource 
= root.findMember(
        
new Path(containerName));
    
if (!resource.exists() || 
        
!(resource instanceof IContainer)) 
    
{
      throwCoreException(
"Container \"" + 
          containerName + "\" does not exist.");
    }

    IContainer container 
= (IContainer) resource;
    final IFile file 
= 
        container.getFile(
new Path(fileName));
    
try {
      InputStream stream 
= openContentStream();
      
if (file.exists()) {
        file.setContents(stream, 
truetrue, monitor);
      }
 else {
        file.create(stream, 
true, monitor);
      }

      stream.close();
    }
 catch (IOException e) {
    }

    monitor.worked(
1);
    monitor.setTaskName(
"Opening file for editing");
    getShell().getDisplay().asyncExec(
new Runnable() {
        
public void run() {
          IWorkbenchPage page 
=
              PlatformUI.getWorkbench().
              getActiveWorkbenchWindow().getActivePage();
          
try {
            IDE.openEditor(page, file, 
true);
          }
 catch (PartInitException e) {
          }

        }

      }
);
    monitor.worked(
1);
  }


This code is a simple SWT wizard page. The most interesting characteristic of this class is in the handleBrowse method. This method uses Eclipse's ContainerSelectionDialog for displaying the folders in the workspace.

/**
   * Uses the standard container selection dialog to
   * choose the new value for the container field.
   
*/

  
private void handleBrowse() {
    ContainerSelectionDialog dialog 
=
        
new ContainerSelectionDialog(
            getShell(),
            ResourcesPlugin.getWorkspace().getRoot(),
            
false,
            
"Select new file container");
    
if (dialog.open() == ContainerSelectionDialog.OK) {
      Object[] result 
= dialog.getResult();
      
if (result.length == 1{
        containerText.setText(
            ((Path)result[
0]).toOSString());
      }

    }

  }

 



緗楁槑 2005-07-10 10:35 鍙戣〃璇勮
]]>
<IMG alt=EclipseIcon src="http://www.tkk7.com/images/blogjava_net/kukoo/1547/EclipseIcon.GIF" border=0 align=top>濡備綍鍒朵綔鍜屼嬌鐢ㄥ簱鎻掍歡 --Eclipse RCP -- 璁捐灝忕粨http://www.tkk7.com/Andyluo/archive/2005/07/06/7208.html緗楁槑緗楁槑Wed, 06 Jul 2005 08:30:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/07/06/7208.htmlhttp://www.tkk7.com/Andyluo/comments/7208.htmlhttp://www.tkk7.com/Andyluo/archive/2005/07/06/7208.html#Feedback1http://www.tkk7.com/Andyluo/comments/commentRss/7208.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/7208.html鍦‥clipse鐨勬彃浠朵綋緋諱腑錛屾墍鏈夌殑綾誨簱鏂囦歡閮芥槸浠ユ彃浠剁殑褰㈠紡瀛樺湪鐨勩傚鏋滀綘鐨凱lugin欏圭洰瑕佺敤鍒扮涓夋柟API搴撴垨鑰呭彟涓涓伐紼嬬殑API錛屼綘鍙互灝嗕粬浠寘瑁呮垚涓涓彃浠訛紝榪欏氨鏄簱鎻掍歡鐨勫惈涔夈?/P>

鍦ㄦ垜浠皬緇勭殑璁捐涓紝Plugin鍜屾帶鍒墮昏緫鏄垎鎴愪袱涓伐紼嬪崟鐙紑鍙戠殑錛孭lugin涓昏瀹炵幇鐣岄潰鍔熻兘錛岄氳繃璋冪敤鎺у埗閫昏緫瀹炵幇鏁版嵁瀛樺偍銆丅log鍙戝竷銆佹墦鍗扮瓑鍔熻兘錛屾墍浠ユ帴瑙﹀埌浜嗗埗浣滃簱鎻掍歡榪欎釜榪囩▼錛岀幇鍦ㄥ啓涓嬫潵錛屽笇鏈涙湁鐐瑰府鍔┿?/P>

濡備綍鍒朵綔搴撴彃浠訛細(xì)
灝嗗簱宸ョ▼杞崲涓篜lugin宸ョ▼錛屽湪MANIFEST.MF鐨刼verview閲屽畾涔塈D錛屽湪Runtime閲屽姞鍏ヤ綘瑕佸叕寮鐨勫寘錛圗xported Packages錛夈侽K

濡備綍浣跨敤搴撴彃浠訛紝涓昏鍒嗕負(fù)涓夋錛?BR>1銆佸湪Dependencies Tab鐨凴equired Plug-ins涓姞鍏ヤ綘鐨勫簱鎻掍歡錛堜繚璇佽緭鍑洪」鐩椂瀵煎嚭鐩稿簲鐨勫簱鎻掍歡錛?BR>2銆佺劧鍚嶤ompute build path錛堜嬌欏圭洰鑳藉欏哄埄閫氳繃緙栬瘧錛?BR>3銆佸湪榪愯瀵硅瘽妗嗙殑Plugin Tab閲屽崟鍑籄dd required plugins錛岃繖鏍烽」鐩墠鑳芥甯歌繍琛?BR>
鏈変竴鐐瑰繕浜嗗氨浼?xì)鎸洪儊闂风殑锛?BR>
o_folder.gif     



緗楁槑 2005-07-06 16:30 鍙戣〃璇勮
]]>
灝咹elp宓屽叆Eclipse RCP闇瑕佹敞鎰忕殑涓浜涢棶棰?/title><link>http://www.tkk7.com/Andyluo/archive/2005/07/06/7207.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Wed, 06 Jul 2005 08:28:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2005/07/06/7207.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/7207.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2005/07/06/7207.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/7207.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/7207.html</trackback:ping><description><![CDATA[<div id="vfupvfu" class=postcontent> <P>璇︾粏鐨勫埗浣淗elp榪囩▼鎴戝氨涓嶈浜嗭紝鍦?A >榪欓噷</A>鍙互鎵懼埌銆?/P> <P>瑕佹敞鎰忎笁涓棶棰橈細(xì)<BR>1銆佹坊鍔犵殑鎻掍歡瑕侀綈鍏紝浣跨敤Help瑕佸鍔犱互涓嬪嚑涓彃浠訛細(xì)<BR><CODE>org.apache.ant</CODE> <BR><CODE>org.apache.lucene</CODE> <BR><CODE>org.eclipse.help.appserver</CODE> <BR><CODE>org.eclipse.help.base</CODE> <BR><CODE>org.eclipse.help.ui</CODE> <BR><CODE>org.eclipse.help.webapp</CODE> <BR><CODE>org.eclipse.tomcat</CODE> <BR><BR>2銆佸湪Build閲屾坊鍔爃tml鏂囦歡鐨勪俊鎭紝浣縣tml鏂囦歡鑳芥紜鍑猴紝濡傦細(xì)<BR>bin.includes = plugin.xml,\<BR>               *.jar,\<BR>               plugin.properties,\<BR>               <B>book.xml,\</B><BR>               <B>html/,\</B><BR>               <B>icons/<BR></B><BR>3銆佸湪html鏂囦歡涓笉鑳芥湁涓枃鐨勯摼鎺ワ紙鏄劇ず涓轟貢鐮侊紝鏈嶅姟鍣ㄤ細(xì)鎻愮ず鎵句笉鍒拌鏂囦歡錛夛紝鎵浠tml鍜屽浘鐗囩殑鍚嶇О灝介噺鐢ㄨ嫳鏂囷紝鍐呭鐢ㄤ腑鏂囧掓病鏈夐棶棰樸?/P></DIV><img src ="http://www.tkk7.com/Andyluo/aggbug/7207.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2005-07-06 16:28 <a href="http://www.tkk7.com/Andyluo/archive/2005/07/06/7207.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>緇冧範(fàn)RCP閬囧埌鐨勪竴涓棶棰樺強(qiáng)鎬濊?/title><link>http://www.tkk7.com/Andyluo/archive/2005/06/23/6611.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Thu, 23 Jun 2005 11:43:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2005/06/23/6611.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/6611.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2005/06/23/6611.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/6611.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/6611.html</trackback:ping><description><![CDATA[<P>Problem Description錛氭柊寤轟簡涓涓猂CP Mail鐨凾emplate Example錛岃繍琛屾甯革紝浣嗘槸褰撴垜灝嗗湪鍙︿竴涓猂CP宸ョ▼閲屽緩濂界殑View鏀捐繘鏉ユ椂錛屽伐紼嬭繍琛屽氨鎶涘嚭Invalid Menu Extension (Path is invalid): org.eclipse.ui.edit.text.gotoLastEditPosition錛岃屼笖鑿滃崟鍜屽伐鍏鋒爮閲屽鍑轟簡涓浜汦clipse鑷繁鐨勪笢瑗匡紙濡係earch錛孏o to Last Edit Location錛夈傛崳鍔ㄥ崐澶╂湭鏋滐紝鍚庢潵鍋剁劧鍙戠幇鍙﹀涓涓竴妯′竴鏍風(fēng)殑榪愯閰嶇疆榪愯OK錛屽彧鏄嬌鐢ㄤ簡鍙︿竴涓猈orkspace錛屾瘮杈冧竴涓嬪彂鐜幫紝鍑洪敊宸ョ▼鐨刉orkspace澶氫簡涓夊洓涓狿lugin鐨勯厤緗紙org.eclipse.core.resources錛宱rg.eclipse.core.runtime錛宱rg.eclipse.debug.core錛宱rg.eclipse.debug.ui錛夛紝鑰屾垚鍔熺殑宸ョ▼workspace鍙湁org.eclipse.ui.workbench鐨凱lugin閰嶇疆錛屽叾浠栭兘涓鏍鳳紝鍗充嬌鎴戝鍒惰繃鏉ヤ篃涓嶅ソ浣褲傜幇鍦ㄥ彧鑳界敤浠ュ墠鐨勯偅涓垚鍔熺殑閰嶇疆浜嗭紝濂戒嬌錛屼絾涓嶇煡閬撲負(fù)浠涔堜細(xì)鍑虹幇涓婅堪鎯呭喌錛?BR> 闅鵑亾鏄垚鍔熺殑宸ョ▼宸茬粡灝嗕竴浜汦xtension娉ㄥ唽浜嗭紝鎵浠ュ悗闈㈢殑宸ョ▼閮界敤涓嶄簡銆?/P> <P>鍙兘鐨勫師鍥狅細(xì)浠婂ぉ鐪婨clipse鐨凴CP Tutorial鏃舵敞鎰忓埌Eclipse RCP鎵闇鐨凱lugin鏈灝忛泦鏄痮rg.eclipse.core.runtime鍜宱rg.eclipse.ui錛屽張璁拌搗鏄ㄥぉ浣跨敤浜哖DE鐨勮皟璇曞姛鑳斤紝鎵浠rg.eclipse.debug.core錛宱rg.eclipse.debug.ui鍙兘鏄皟璇曟椂鐢熸垚鐨勶紝鎴栬呮槸浠ュ墠鍒殑欏圭洰鐢ㄨ繃鍑洪敊宸ョ▼鐨剋orkspace鐩綍錛岀敓鎴愪簡涓浜涘埆鐨凱lugin鐩綍錛岃屽鍑虹殑Plugin鍦≒lugin.xml鏂囦歡閲屾敞鍐岀殑menu鍦ㄦ垜鐨勭▼搴忛噷娌℃湁琚坊鍔狅紙鎴栬呮病鏈夊畾涔夊搴旂殑MenuPath錛夛紝浜庢槸灝辨姏鍑轟簡錛欼nvalid Menu Extension (Path is invalid)</P> <P>涓嶈繃榪樻湁涓涓棶棰橈細(xì)鎬庝箞workspace鐨?Plugin鏂囦歡澶歸噷鍙湁org.eclipse.ui.workbench鑰屾病鏈塷rg.eclipse.core.runtime錛屾湁璋佺煡閬撹繖鏄負(fù)浠涔堝悧錛?/P><img src ="http://www.tkk7.com/Andyluo/aggbug/6611.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2005-06-23 19:43 <a href="http://www.tkk7.com/Andyluo/archive/2005/06/23/6611.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>銆奀ontributing to Eclipse銆嬮槄璇葷瑪璁?- 絎浂寰幆 - Eclipse鏁翠綋鏋舵瀯http://www.tkk7.com/Andyluo/archive/2005/06/17/6319.html緗楁槑緗楁槑Fri, 17 Jun 2005 14:53:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/06/17/6319.htmlhttp://www.tkk7.com/Andyluo/comments/6319.htmlhttp://www.tkk7.com/Andyluo/archive/2005/06/17/6319.html#Feedback4http://www.tkk7.com/Andyluo/comments/commentRss/6319.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/6319.html涓轟簡鎵撳ソ鍋歅lugin鐨勫熀紜錛屼粖澶╃壒鍦板熶簡鏈奀ontributing to Eclipse銆嬶紝鍏跺疄搴旇鏄拱涓鏈殑錛岃繖鏈功榪欎箞緇忓吀銆傚惉璇磋繖鏈功鏄粠Eclipse鐨勫唴閮ㄦ瀯鏋舵潵璁茬殑錛屽浜庡揩閫熷叆闂≒lugin鐨勫紑鍙戝彲鑳戒笉鏄壒鍒悎閫傦紝浣嗘病鏈夊彂鐜頒功搴楁湁鍒殑鍏充簬SWT鎴朠lugin鐨勪功錛?55

濂戒簡錛屽紑濮嬪垏鍏ユ棰橈紝Go Go Go

銆奀ontributing to Eclipse銆嬪垎涓哄洓涓驚鐜紝絎竴涓驚鐜槸絎浂涓驚鐜紙hahaha錛夈?BR>
絎浂涓驚鐜粙緇嶄簡Eclipse鐨勫熀紜鏋舵瀯錛岀劧鍚庨氳繃緙栧啓涓涓渶綆鍗曠殑HelloWorld Plugin甯︽垜浠蛋榪汣ontributing鐨勫ぇ闂ㄣ?/P>

鍏堣璇磋繖閲屽垪鍑虹殑姣旇緝閲嶈鐨勬蹇碉細(xì)
Eclipse鍒嗕負(fù)涓夊眰錛歅latform銆丣DT銆丳DE銆傚叾涓璓DE鏄JDT鐨勬墿灞曪紝鎻愪緵浜嗘彃浠跺紑鍙戞敮鎸併?/P>

Platform鍙堝垎涓轟袱灞傦細(xì)Core錛圵orkspace銆丷untime錛夈乁I錛圵orkbench銆丣Face銆丼WT錛夈?BR>涓嬮潰鍒嗗埆浠嬬粛涓涓嬶細(xì)
Runtime --- 瀹氫箟浜嗘彃浠剁殑鍩虹璁炬柦銆傚惎鍔ㄦ椂鍙戠幇鎵鏈夊彲鐢ㄦ彃浠跺茍綆$悊鎻掍歡鐨勫姞杞姐?BR>Workspace --- 綆$悊涓涓垨澶氫釜欏剁駭欏圭洰銆?BR>SWT錛圫tandard Widget Toolkit錛?-- 鎻愪緵鍥懼艦鏄劇ず鍔熻兘錛屽畾涔変簡涓緇勬爣鍑嗙獥浣撶粍浠躲?BR>JFace --- 寤虹珛鍦⊿WT涓婄殑涓緇勬瘮杈冨皬鐨刄I妗嗘灦錛屾彁渚涘甯哥敤UI浠誨姟鐨勬敮鎸併?BR>Workbench --- Eclipse鐨刄I鑱氬悎浣擄紝鏍稿績瑕佺礌鏄紪杈戝櫒銆佽鍥撅紙View錛夊拰瑙嗚錛圥erspective錛夈?BR>鍏朵腑瑙嗚錛圥erspective錛夊畾涔変簡鍚勫伐浣滃彴閮ㄤ歡鐨勫彲瑙嗗寲鎺掑垪鏂瑰紡銆?/P>

All Right. That's how you get it.
Go on, be a tiger.



緗楁槑 2005-06-17 22:53 鍙戣〃璇勮
]]>
榪欎釜鐣岄潰鎸哄ソ鐜?/title><link>http://www.tkk7.com/Andyluo/archive/2005/06/17/6248.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Fri, 17 Jun 2005 00:20:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2005/06/17/6248.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/6248.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2005/06/17/6248.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/6248.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/6248.html</trackback:ping><description><![CDATA[SWT閲岀殑Right to Left Style錛屽皢Menu璁句負(fù)SWT.RIGHT_TO_LEFT灝卞彲浠ヤ簡錛屼互鍓嶆病鐪嬪埌榪囪繖縐嶆晥鏋滐紝涓嶇煡閬撳埆鐨勮璦鍙笉鍙互榪欐牱銆?BR><IMG height=336 alt=鍊掔獥鍙?JPG src="http://www.tkk7.com/images/blogjava_net/andyluo/鍊掔獥鍙?JPG" width=494 border=0><img src ="http://www.tkk7.com/Andyluo/aggbug/6248.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2005-06-17 08:20 <a href="http://www.tkk7.com/Andyluo/archive/2005/06/17/6248.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SWT = 鏈湴鍖栫殑Java錛?/title><link>http://www.tkk7.com/Andyluo/archive/2005/06/17/6249.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Thu, 16 Jun 2005 20:30:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2005/06/17/6249.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/6249.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2005/06/17/6249.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/6249.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/6249.html</trackback:ping><description><![CDATA[<P>鍒氭墠鐪嬩簡Examples閲岀殑Web Browser瀹炰緥錛屾劅瑙夌壒鍒儚涓涓猂ss Reader閲岀殑綆鏄撴祻瑙堝櫒銆?/P> <P>涓妔oftware.hit.edu.cn鐪婩lash娌℃湁闂錛屾墦寮涓涓猈ord鏂囨。涔烵K錛屽簲璇ユ槸鍐呭祵浜咺E鍚с?/P> <P>鐪嬩簡浠g爜涔熷彧鍙戠幇涓涓猻etLocation(URL)錛屾病鏈夎窡鏈湴緋葷粺鑱旂郴鐨勪唬鐮侊紝闅鵑亾SWT閲岀殑Browser鏈韓灝卞唴宓屼簡IE銆?/P> <P>浠ュ墠涔熷惉璇磋繃SWT鏄笉鐢ㄨ櫄鎷熸満鐨勶紙鏄悧錛燂級(jí)錛岄兘鏄皟鐢ㄦ湰鍦扮殑dll錛屽彧鏄幇鍦ㄤ翰鐪肩洰鐫逛簡銆?/P> <P><STRONG>榪欎笉鏈夌偣鍍廇WT鍚楋紵錛?/STRONG></P><IMG height=1 src="http://blueline.hit.edu.cn/blog/andy/aggbug/1685.aspx" width=1><img src ="http://www.tkk7.com/Andyluo/aggbug/6249.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2005-06-17 04:30 <a href="http://www.tkk7.com/Andyluo/archive/2005/06/17/6249.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SWT Examples闃呰絎旇 - Custom Controlshttp://www.tkk7.com/Andyluo/archive/2005/06/17/6250.html緗楁槑緗楁槑Thu, 16 Jun 2005 20:01:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/06/17/6250.htmlhttp://www.tkk7.com/Andyluo/comments/6250.htmlhttp://www.tkk7.com/Andyluo/archive/2005/06/17/6250.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/6250.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/6250.html榪欏氨鏄畾鍒剁殑Controls錛熸湁浠涔堢壒鍒殑鍦版柟鍚楋紵鎴戝ソ鍍忎篃娌$湅鍑烘潵

CCombo灝辨槸涓涓狢omboBox錛屼笉榪囧彲浠ヨ涓篎lat錛岃繖鏍鋒瘮杈冮叿銆?BR>
CLabel鏈変竴涓猄hadow鐩稿叧鐨勫睘鎬э紝鍙互璁劇疆IN鎴朞UT錛堝氨鏄獊鍑烘垨鍑硅繘錛岃繖鏄疞abel鍟婏紒鎼炲緱榪欎箞鑺卞摠錛夈?BR>
CTabFolder鍦ㄨ瑙変笂鏈変簺鏀硅繘錛屼篃鏄疐lat Style錛岀湅鐫鐪嬬潃灝卞繊涓嶄綇鎯崇涓涓嬨傚綋Size緙╁皬鏃訛紝CTabItem鍙互闅愯棌璧鋒潵錛屽湪鍙充笂鏂規(guī)樉紺轟竴涓笅鎷夊弻綆ご錛岃繕鏄劇ず浜嗛殣钘忕殑Item鏁扮洰錛屽簲璇ュ氨鏄疎clipse閲岀殑閭g椋庢牸浜嗐?BR>CTabFolder.JPG

StyledText錛岄【鍚嶆濅箟銆傛瘮杈冪壒鍒殑錛氬彲浠ュ皢鍙ュ瓙Strikeout錛屽氨鏄湪閫夋嫨鐨勫彞瀛愪笂鍒掍竴鏉♀滃垹闄ょ嚎鈥濄?BR>
TableTree璺熶笂鑺侰ontrols閲岃鐨凾ree宸笉澶氥?U>鏈変竴涓猄WT.FULL_SELECTION Style涓嶇煡閬撴湁浠涔堢敤銆?BR>
渚嬪瓙鐪嬪畬浜嗭紝浼戞伅...浼戞伅涓涓嬨?/P>

緗楁槑 2005-06-17 04:01 鍙戣〃璇勮
]]>
SWT Examples闃呰絎旇 - Controlshttp://www.tkk7.com/Andyluo/archive/2005/06/17/6251.html緗楁槑緗楁槑Thu, 16 Jun 2005 19:20:00 GMThttp://www.tkk7.com/Andyluo/archive/2005/06/17/6251.htmlhttp://www.tkk7.com/Andyluo/comments/6251.htmlhttp://www.tkk7.com/Andyluo/archive/2005/06/17/6251.html#Feedback0http://www.tkk7.com/Andyluo/comments/commentRss/6251.htmlhttp://www.tkk7.com/Andyluo/services/trackbacks/6251.html棣栧厛鏄疊utton錛岄噷闈㈢殑TOGGLE錛堟寜涓嬩笉寮硅搗錛夈丗LAT錛堝鉤騫崇殑錛岃窡DotNet閲岀殑Flat Style宸笉澶氾級(jí)鍜孉RROW錛堜竴涓柟鍚戠澶達(dá)紝鍙互鎸囧畾鏂瑰悜錛夋尯濂界帺鐨勶紝緇勫悎涓涓嬩細(xì)鏈夊閲嶆晥鏋滐紙鐢?| 鏉ョ粍鍚堬紝濡係WT.ARROW | SWT.FLAT | SWT.PUSH錛夈?BR>
鍐嶇湅鐪婥anvas錛堢敾甯冿級(jí),SWT.NO_REDRAW_RESIZE灞炴ц緗畆esize鏃剁敾甯冧笉閲嶇敾錛屾兂璧蜂簡灝忕敯鑰佸笀鐨勫疄楠?錛屽懙鍛點(diǎn)?U>Caret鏄劇ず涓涓厜鏍?/U>錛屼笉鐭ラ亾鏄共浠涔堢敤鐨勩?U>榪樻湁涓涓狥ill Damaged Area With Color錛岀湅婧愪唬鐮佷篃娌″紕鎳傦紝涓嶅氨鏄敾鍑犱釜浜旈鍏壊鐨凴ectangle鍚楋紝瑕佸崟鐙垪鍑烘潵鍚楋紵

絎笁鏄疌omboBox錛孲tyle鏄疭WT.DROP_DOWN鏃舵槸涓嬫媺鍒楄〃錛孲WT.SIMPLE鏄皢鎵鏈夐夐」閮藉鉤閾哄湪鏉垮瓙涓婄殑ComboBox銆?BR>
CoolBar涔熸槸宸ュ叿鏍忓挴錛屽彧涓嶈繃姣斾竴鑸殑ToolBar婕備寒錛圫WT閲岃繕鏈塗oolBar錛変笉鐭ラ亾Item Styles涓殑SWT.DROP_DOWN鏈変粈涔堢敤錛屽ソ鍍忓彧瀵筎oggle Item璧蜂綔鐢ㄣ傚伐鍏鋒爮閲屽彲浠ユ斁Text浜嗐傦紙鍚庤ˉ -> 鍙戠幇DROP_DOWN鐨勫姛鑳戒簡錛欼tem琚殣钘忔椂鏄劇ず涓涓墿灞曠澶淬傚垰鎵嶈鐨凾oggle Item鍏跺疄鏄疪adio錛?BR>
Dialog鏈夊洓涓狹odel Style錛歋WT.MODELESS銆丼WT.PRIMARY_MODAL銆丼WT.APPLICATION_MODAL銆丼WT.SYSTEM_MODAL(涓嶇煡閬揚(yáng)RIMARY_MODAL鏄仛浠涔堢敤鐨?

ToolBar閲屽彲浠ュ姞鍏omboBox

Tree鍙互鏈塎ultiple Columns鍜孒eader銆傜敋鑷寵繕鑳芥樉紺鴻鍒楋紝綆鐩村氨鏄疶ree鍜孴able鐨勭粨鏅躲?BR>
渚嬪瓙鐪嬪畬浜嗭紝浼戞伅...浼戞伅涓涓嬨?IMG height=1 src="http://blueline.hit.edu.cn/blog/andy/aggbug/1683.aspx" width=1>

緗楁槑 2005-06-17 03:20 鍙戣〃璇勮
]]>
SWT Examples闃呰絎旇 - 寮棰樻姤鍛?/title><link>http://www.tkk7.com/Andyluo/archive/2005/06/17/6252.html</link><dc:creator>緗楁槑</dc:creator><author>緗楁槑</author><pubDate>Thu, 16 Jun 2005 17:39:00 GMT</pubDate><guid>http://www.tkk7.com/Andyluo/archive/2005/06/17/6252.html</guid><wfw:comment>http://www.tkk7.com/Andyluo/comments/6252.html</wfw:comment><comments>http://www.tkk7.com/Andyluo/archive/2005/06/17/6252.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/Andyluo/comments/commentRss/6252.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/Andyluo/services/trackbacks/6252.html</trackback:ping><description><![CDATA[<P>鍋囧涓嶈冪爺鐨勮瘽錛屾垜灝辮鍦ㄨ繖涓孌墊椂闂村寮勫紕鎶鏈簡錛屽喅瀹氬瀛clipse鐨刾lugin鍜孯CP錛屼簬鏄鍏堝緱瀛WT銆?BR><BR>涓婃鐪嬩簡鍑犵瘒涓枃鐨刾aper錛岀煡閬撲簡SWT鐨勫熀鏈簲鐢紝鐜板湪璇ュ姩鍔ㄦ墜浜嗭紙灝界鎴戝悜鏉ラ兘鎻愬″悰瀛愬姩鍙d笉鍔ㄦ墜鐨勶紝鍛靛懙錛夛紝褰撶劧鏄鍏堢湅鐪媠wt閮借兘騫蹭粈涔堝暒錛屾渶濂界殑涓嬫墜涔嬪灝辨槸swt examples銆?BR><BR>榪愯鐜?yōu)鏄疎clipse鍟︼紝鎴戠殑Eclipse鏈潵涓嶆墦綆楁崲鐨勶紝鎴戝凡緇忚浜哛C1錛堥偅澶╀笅RC2涔熸槸涓浣嶆湅鍙嬭鐢紝鎴戠殑鐢?shù)鑴戜笂浠?.0.1鍒?.1RC2閮芥湁錛宲at錛夛紝浣嗗惉璇碦C2瓚呯駭蹇紝鎵浠ヤ篃瑙e帇緙╄瘯涓涓嬨傝浜嗚繖涔堝搴熻瘽錛岀湡鏈夌偣瀵逛笉璧瘋浼楋紝555<BR><BR>鐜板湪鐪嬬湅鎬庝箞榪愯SWT Examples錛屾垜浠惎鍔‥clipse錛屼粠Help鐨刉elcome閲岄夋嫨Samples錛屽崟鍑籗WT涓嬮潰鐨勭孩鍦嗗湀錛岄摼鎺ュ埌download examples(鎴戝湪Update閲岃浜嗕唬鐞嗭紝閫熷害椹┈铏庤檸)錛岃嚜鍔ㄥ畨瑁呭畬examples鍚庯紝鍗曞嚮OutLine閲岀殑run examples錛屼笉瑕佸鎬曪紝榪欐椂浼?xì)寮瑰囖Z竴涓狤clipse鐨勫惎鍔ㄧ敾闈紝涓嶈璁や負(fù)鍝噷鍋氶敊浜嗭紝瀵癸紝榪欏氨鏄疎xamples鐨凩aucher銆傚湪Laucher鎵撳紑鐨剋orkbench閲岄夋嫨Window->Show View->Other,閫夋嫨Swt Examples閲岀殑渚嬪瓙銆傜幇鍦ㄥ彲浠ユ參鎱㈢湅浜嗐?/P><img src ="http://www.tkk7.com/Andyluo/aggbug/6252.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/Andyluo/" target="_blank">緗楁槑</a> 2005-06-17 01:39 <a href="http://www.tkk7.com/Andyluo/archive/2005/06/17/6252.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://nfrxfarm.com" target="_blank">精品国产亚洲AV麻豆</a>| <a href="http://tmg-beelen.com" target="_blank">亚洲AV无码AV日韩AV网站</a>| <a href="http://lwjiheng.com" target="_blank">亚洲午夜久久久久久尤物</a>| <a href="http://kwknc.com" target="_blank">亚洲AV日韩综合一区尤物</a>| <a href="http://u6u6u6.com" target="_blank">国产亚洲女在线线精品</a>| <a href="http://773311h.com" target="_blank">亚美影视免费在线观看</a>| <a href="http://nmgqsyg.com" target="_blank">欧洲人成在线免费</a>| <a href="http://hbgksy.com" target="_blank">日韩一区二区a片免费观看</a>| <a href="http://goodwaysi.com" target="_blank">国产hs免费高清在线观看</a>| <a href="http://grjeans.com" target="_blank">亚洲综合av永久无码精品一区二区</a>| <a href="http://czhos.com" target="_blank">亚洲电影免费在线观看</a>| <a href="http://liuxilife.com" target="_blank">亚洲校园春色另类激情</a>| <a href="http://nzzys.com" target="_blank">黄色免费网站在线看</a>| <a href="http://slotvip24.com" target="_blank">日韩精品在线免费观看</a>| <a href="http://www-533999.com" target="_blank">丁香花在线观看免费观看</a>| <a href="http://abbobo.com" target="_blank">亚洲精品国精品久久99热</a>| <a href="http://yanhx.com" target="_blank">亚洲一区中文字幕久久</a>| <a href="http://1178767.com" target="_blank">亚洲AV无码国产一区二区三区</a>| <a href="http://chinashineway.com" target="_blank">国产精品青草视频免费播放</a>| <a href="http://www33399.com" target="_blank">182tv免费视视频线路一二三</a>| <a href="http://51huanxin.com" target="_blank">免费高清在线爱做视频</a>| <a href="http://2c06xyz.com" target="_blank">在线播放亚洲第一字幕</a>| <a href="http://tzfzs.com" target="_blank">亚洲av永久无码嘿嘿嘿</a>| <a href="http://xian66.com" target="_blank">EEUSS影院WWW在线观看免费</a>| <a href="http://nfrxfarm.com" target="_blank">91视频免费网址</a>| <a href="http://zjfxjy.com" target="_blank">深夜国产福利99亚洲视频</a>| <a href="http://yjjinfeng.com" target="_blank">亚洲第一福利网站</a>| <a href="http://18yinren.com" target="_blank">国产精品成人亚洲</a>| <a href="http://22youjizz.com" target="_blank">99re免费视频</a>| <a href="http://www65axax.com" target="_blank">免费A级毛片无码A</a>| <a href="http://xingdagx.com" target="_blank">伊人久久综在合线亚洲2019</a>| <a href="http://yixinbanks.com" target="_blank">青草久久精品亚洲综合专区</a>| <a href="http://jgxsdst.com" target="_blank">日韩精品久久久久久免费</a>| <a href="http://sxhengshan.com" target="_blank">日韩免费在线观看</a>| <a href="http://jomujy.com" target="_blank">亚洲精品国产成人专区</a>| <a href="http://spxingyiquan.com" target="_blank">国产成人亚洲精品91专区高清</a>| <a href="http://359777b.com" target="_blank">久久午夜夜伦鲁鲁片免费无码</a>| <a href="http://gtja1668.com" target="_blank">日韩特黄特色大片免费视频</a>| <a href="http://jmdehong.com" target="_blank">亚洲第一福利视频</a>| <a href="http://hn-hshb.com" target="_blank">成人a毛片视频免费看</a>| <a href="http://yaojing123.com" target="_blank">黄页免费的网站勿入免费直接进入</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>