Java:ÔÚRCPÖÐʵÏÖÓÃÍÐ×§´ò¿ªEditor
¹¤×÷̨´°¿ÚµÄEditorÇøÓòĬÈÏÊÇÏÔʾµÄ£¬¶øÇÒËüÖ§³ÖÍÏ×§²Ù×÷¡£ÔÚEclipseÀïÃæ£¬°ÑÒ»¸öÎļþÍϵ½EditorÇøÓò£¬¾Í»á×Ô¶¯´ò¿ª¸ÃÎļþµÄ
Editor.¸ÃÌØÐÔÊÇÔÚIWorkbenchWindowConfigurer ÖÐÉèÖá£
ÔÚPassWord GateÖУ¬µ±Í϶¯Password Gate ViewÖеÄÒ»¸öGroup »òÕß
Serviceµ½EditorÇøÓò£¬»áÔÚEditorÏÔʾ¸ÃÏîµÄÊôÐÔ¡£
ҪʵÏÖ´ËÌØÐÔ£¬ÓÐËIJ¿·ÖÊDZØÐëµÄ¡£
1 ʵÏÖ±ØÒªµÄTransferÀàÐÍ£¬¶øÇÒ¶¨ÒåEditorÒªÖ§³ÖÄÄЩÀàÐÍ¡£ÔÚPassword
GateÖУ¬TransferÊÇLocalSelectionTransfer.TransferÓÃÀ´½øÐÐÊý¾ÝµÄÐòÁл¯£¬Ëü¿ÉÒÔÖ§³ÖÔÚͬһ¸ö³ÌÐò£¬»ò²»Í¬
³ÌÐò¼äÍÏ×§¡£
2 ÒòΪÔÚÍÏ×§´«µÝµÄ¹ý³ÌÖÐEditor Input ҪʵÏÖÐòÁл¯£¬ËùÒÔҪʵÏÖIPersistableElement½Ó¿Ú¡£
3 ¼ÓÈëÒ»¸öÊÍ·ÅÊÊÅäÆ÷£¬µ±Ò»¸öÔªËØ±»ÈÓµ½EditorÇøÓò£¬Ëü¿ÉÒÔÖªµÀÈçºÎ½øÐвÙ×÷£¬Æäʵ¾ÍÊÇ´ò¿ª¸ÃÔªËØµÄEditor.
4 ʹPassword ViewÄܹ»½øÐÐÍϲÙ×÷£¬ËüÒªÌṩ¹©ÍϵÄÔªËØ¡£
ÏÂÃæ½øÐдúÂëʵÏÖ¡£
ÔÚRCPµÄWorkbenchWindowAdvisor. preWindowOpenÖж¨ÒåÒªÇóEditor
AreaÖ§³ÖµÄÍÏÈë¶ÔÏóµÄÀàÐÍ£¬ÒÔ¼°´ò¿ªÏàÓ¦EditorµÄʼþ¡£
ApplicationWorkbenchWindowAdvisor.preWindowOpen£¨£©
01 public void preWindowOpen() {
02 ......
03 configurer.addEditorAreaTransfer(LocalSelectionTransfer.getInstance());
04 configurer.configureEditorAreaDropListener(new EditorAreaDropAdapter(
05 configurer.getWindow()));
06 }
Row 03¶¨ÒåÁËEditor AreaÖ§³ÖµÄTransferΪLocalSelectionTransfer£¬
LocalSelectionTransferΪ×Ô¼ºÊµÏֵĴ«Êä½éÖÊÀà¡£Row 04¶¨ÒåÁ˶ÔÍÏÈëEditor
AreaµÄ¶ÔÏóµÄ´¦Àí·½·¨¡£EditorAreaDropAdapterʵÏÖÁËDropTargetListener½Ó¿Ú
Ïà¹ØÎĵµ£º
1¡¢¿ØÖÆ"×Ý´ò"¡¢ ºá´ò”ºÍ“Ò³ÃæµÄ±ß¾à¡£
£¨1£©<script defer>
function SetPrintSettings() {
¡¡// -- advanced &n ......
ǰÎÀ¼¼Êõ ¡¶Ä§ÊÞÍâ´«¡·È«ÐÂJAVAÒýÇæ
¡¶Ä§ÊÞÍâ´«¡·ÊÇÓÉÏã³ÈÍøÂçÊ×´ÎÍ»ÆÆFLASHÒýÇæÏÞÖÆ£¬²ÉÓÃJAVAÒýÇæ×ÔÖ÷Ñз¢µÄ¶¯Ì¬Õ½¶·²ßÂÔÀàÓÎÏ·¡£ËùνJava¾ÍÊÇÒ»ÖÖ¼òµ¥µÄ£¬ÃæÏò¶ÔÏóµÄ£¬½¡×³°²È«µÄ£¬½á¹¹ÖÐÁ¢µÄ£¬ÐÔÄÜÓÅÒì¡¢¶àÏ̵߳Ķ¯Ì¬ÓïÑÔ¡£ËüµÄÓï·¨ÓëCÓïÑÔºÍC++ÓïÑԺܽӽü£¬µ«ÊDZ÷ÆúÁËC++ÖкÜÉÙʹÓõġ¢ºÜÄÑÀí½âµÄ¡¢ÁîÈËÃÔ»óµÄÄÇÐ©Ì ......
JAVA¿ª·¢Õß×ȥµÄ20¸öÓ¢ÎÄÍøÕ¾
1.[http://www.javaalmanac.com] – Java¿ª·¢ÕßÄê¼øÒ»ÊéµÄÔÚÏß°æ±¾. ÒªÏë¿ìËٲ鵽ijÖÖJava¼¼ÇɵÄÓ÷¨¼°Ê¾Àý´úÂë, ÕâÊÇÒ»¸ö²»´íµÄÈ¥´¦.
2.[http://www.onjava.com] – O’ReillyµÄJavaÍøÕ¾. ÿÖܶ¼ÓÐÐÂÎÄÕÂ.
3.[http://java.sun.com] – ¹Ù·½µÄJava¿ª·¢ÕßÍøÕ¾ &nda ......
ÊõÓïÃû³Æ£ºFactory
ÊõÓï½âÊÍ£º¹¤³§Ä£Ê½,ÓÃÀ´Ìṩ´´½¨¶ÔÏóµÄ½Ó¿Ú.
¹¤³§Ä£Ê½¹¦ÄܵÄÏêϸ½âÊÍ£º
¹¤³§Ä£Ê½ÊÇÎÒÃÇ×î³£ÓõÄģʽÁË,ÖøÃûµÄJiveÂÛ̳ ,¾Í´óÁ¿Ê¹ÓÃÁ˹¤³§Ä£Ê½£¬¹¤³§Ä£Ê½ÔÚJava³ÌÐòϵͳ¿ÉÒÔ˵ÊÇËæ´¦¿É¼û¡£
Ϊʲô¹¤³§Ä£Ê½ÊÇÈç´Ë³£Óã¿ÒòΪ¹¤³§Ä£Ê½¾ÍÏ൱ÓÚ´´½¨ÊµÀý¶ÔÏóµÄnew£¬ÎÒÃǾ³£Òª¸ù¾ÝÀàClassÉú³ÉʵÀý¶ÔÏó ......
Spring Framework ¡¾Java¿ªÔ´ J2EE¿ò¼Ü¡¿
SpringÊÇÒ»¸ö½â¾öÁËÐí¶àÔÚJ2EE¿ª·¢Öг£¼ûµÄÎÊÌâµÄÇ¿´ó¿ò¼Ü¡£ SpringÌṩÁ˹ÜÀíÒµÎñ¶ÔÏóµÄÒ»Ö·½·¨²¢ÇÒ¹ÄÀøÁË×¢Èë¶Ô½Ó¿Ú±à³Ì¶ø²»ÊǶÔÀà±à³ÌµÄÁ¼ºÃϰ¹ß¡£SpringµÄ¼Ü¹¹»ù´¡ÊÇ»ùÓÚʹÓÃJavaBeanÊôÐ﵀ Inversion of ControlÈÝÆ÷¡£È»¶ø£¬Õâ½ö½öÊÇÍêÕûͼ¾°ÖеÄÒ»²¿·Ö£ºSpringÔÚʹÓà ......