锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产成人在线电影,国产精品18久久久久久久久久久久,久久九九国产精品怡红院http://www.aygfsteel.com/eroself/category/27851.html鍏充簬浜虹敓鐨勭▼寮忥紝鍦ㄨ繖閲岃氨鍐?.....zh-cnMon, 07 Jan 2008 11:05:50 GMTMon, 07 Jan 2008 11:05:50 GMT60鎶奊EF editor闆嗘垚鍒癕ulti-page editor涓?/title><link>http://www.aygfsteel.com/eroself/archive/2008/01/07/173292.html</link><dc:creator>楝艱胺瀛?/dc:creator><author>楝艱胺瀛?/author><pubDate>Mon, 07 Jan 2008 04:10:00 GMT</pubDate><guid>http://www.aygfsteel.com/eroself/archive/2008/01/07/173292.html</guid><wfw:comment>http://www.aygfsteel.com/eroself/comments/173292.html</wfw:comment><comments>http://www.aygfsteel.com/eroself/archive/2008/01/07/173292.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/eroself/comments/commentRss/173292.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/eroself/services/trackbacks/173292.html</trackback:ping><description><![CDATA[<p>杞嚜錛歨ttp://superinfinite.spaces.live.com/blog/cns!59C5F00DCFF3DBDB!221.entry<br /> <br /> </p> <div><font face="Courier New">鐢變簬涓涓渶姹傛槸瑕佸湪GEF鐨勪竴涓敾甯冨錛屽啀鎻愪緵涓涓獀iew鏄劇ずJSP鐨勬祦紼嬶紙鍏跺疄榪欎釜鍔熻兘娌″ぇ蹇呰錛屼絾瀹炵幇璧鋒潵鍗翠笉瀹規(guī)槗錛夈?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">涓嶇鎬庝箞璇達紝榪樻槸瑕佺収鐫闇姹傚幓鍋氭淮銆?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">鍏跺疄錛屽湪鐪嬩簡闇姹傚悗錛屾垜灝辨剰璇嗗埌浜嗗彲鑳借鍋氭垚涓涓狹ulti-page銆?鐢變簬鏃墮棿涓嶅錛屾病鏉ョ殑鍙婁粩緇嗚冭檻錛?/font></div> <div><font face="Courier New">涓寮濮嬭繕鏄仛鎴愭櫘閫氱殑GEF緙栬緫鍣紝鍦ㄦ妸application flow鍩烘湰涓婃悶瀹氫箣鍚庯紝鍐嶆鍥炲埌榪欎釜闂涓娿?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">娌″姙娉曪紝緇х畫鐪嬪埆浜虹殑浠g爜錛堝弽緙栬瘧鐨勶級錛宮yeclipse涓殑web-designer錛屽氨璞reamweaver涓鏍鋒湁3縐嶈鍥撅紝铏界劧榪欐槸鎴戜互鍚庤鍋氱殑錛屼絾鍗存病鏈夐噰鐢ㄥ畠鐨勫仛娉曘?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">璁扮殑struts-box鐨剆truts-config editor鏈変釜visualizer鐨勯〉闈紙鐪熷閥錛屽拰鎴戠幇鍦ㄥ啓鐨刾lugin鍚嶅瓧涓鏍鳳級錛屽畠鏄竴涓狦raphicalViewer 錛屽仛娉曞叾瀹炴尯綆鍗曠殑銆?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">鏋勫緩涓涓狹ulti-page editor鐨勬鏋躲?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">鎶婁竴涓鍥句綔涓轟竴涓猵age鏀懼埌榪欎釜Multi-page editor涓?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">涓鴻繖涓猵age鍐欎竴涓猄ection,</font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">protected void createClient(Section section, FormToolkit toolkit) {<br />   Composite container = toolkit.createComposite(section);<br />   FillLayout layout = new FillLayout();<br />   container.setLayout(layout);<br />   GraphicalViewer viewer = ((VisualizerEditor)editor).createGraphicalViewer(container);</font></div> <div><font face="Courier New"> section.setClient(container);</font></div> <div><font face="Courier New">}</font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">榪欎釜viewer鍛?錛屽綋鐒舵槸鍘熸潵閭d釜GEF editor涓殑viewer浜嗐?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">榪欐椂鍊欓偅涓柊寤虹殑Multi-page褰撶劧涔熻鏀逛簡錛宎ddPage()灝變笉璇翠簡錛?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">浠ュ悗鏄鐢ㄨ繖涓狹ulti-page editor鎵撳紑鐨勶紝鎵浠ュ師鏉ラ偅涓狦EF 鐨別ditor涓殑鍑犱釜鏂規(guī)硶鏄皟鐢ㄤ笉鍒扮殑銆?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">public void init(IEditorSite site, IEditorInput input)<br />    throws PartInitException {<br />   super.init(site,input);<br />   appFlowVisualEditor.init(site, input);<br />   this.visualizer = appFlowVisualEditor.getVisualizer();<br />   appFlowVisualEditor.setVisualizerEditor(this);<br />  }</font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">榪欐槸涓涓紝鍏跺畠鐨勫氨緙轟粈涔堣ˉ浠涔堬紝debug鐨勬椂鍊欏彲浠ョ湅鍑烘潵鐨勩?/font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">榪樻湁涓鐐癸紝灝辨槸濡傛灉娌″湪section涓彟澶栧姞listener 鐨勮瘽錛屼綘鍦╬age涓紪杈慓EF鐨勫厓绱狅紝緙栬緫鍣ㄦ槸涓嶄細鏍囧織dirty鐨勶紝鎵浠ュ湪section涓負CommandStack鍔犱竴涓猯istener錛?/font></div> <div><font face="Courier New">viewer.getEditDomain().getCommandStack().addCommandStackEventListener(new CommandStackEventListener(){</font></div> <div><font face="Courier New">   public void stackChanged(CommandStackEvent arg0) {<br />     markDirty();<br />    }<br />    <br />   });</font></div> <div><font face="Courier New"></font> </div> <div><font face="Courier New"></font> </div> <div><font face="Courier New" color="#ff0000">鍦╡ditor <em>init()</em>鐨勬椂鍊?getCommandStack().addCommandStackListener(this) (editor瀹炵幇CommandStackListener) Section涓氨涓嶉渶瑕佸姞浜嗐?/font></div> <div><font face="Courier New" color="#ff0000"></font> </div> <div><font face="Courier New" color="#ff0000">瑕佽鐩朏ormEditor鐨?em>isDirty()</em>鏂規(guī)硶</font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">榪欐牱緙栬緫鍣ㄤ細鍦ㄤ綘瀵笹EF鍏冪礌榪涜鎿嶄綔鍚庝細緇檛itle鏍囦笂涓涓?鍙楓備粖澶╄瘯浜嗕竴涓嬶紝鍗村彂鐜版棤璁烘庝箞淇濆瓨錛岄偅涓槦鍙瘋繕鍦紝浠旂粏涓鐪嬶紝鍘熸潵蹇樺姞浜嗕釜comit鐨勬柟娉曪細</font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">private void commitFormPages(boolean b) {<br />   IFormPage[] pages = getPages();<br />   for (int i = 0; i < pages.length; i++) {<br />    IFormPage page = pages[i];<br />    IManagedForm mform = page.getManagedForm();<br />    if (mform != null && mform.isDirty())<br />     mform.commit(true);<br />   }</font></div> <div><font face="Courier New"> }<br />  <br />  protected IFormPage[] getPages() {<br />   List formPages = new ArrayList();<br />   for (int i = 0; i < pages.size(); i++) {<br />    Object page = pages.get(i);<br />    if (page instanceof IFormPage)<br />     formPages.add(page);<br />   }<br />   return (IFormPage[]) formPages.toArray(new IFormPage[formPages.size()]);<br />  }</font></div> <div><font face="Courier New"> </font></div> <div><font face="Courier New">鍛靛懙錛屼互鍚庝笉浼氬繕浜嗗惂銆?/font></div> <img src ="http://www.aygfsteel.com/eroself/aggbug/173292.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/eroself/" target="_blank">楝艱胺瀛?/a> 2008-01-07 12:10 <a href="http://www.aygfsteel.com/eroself/archive/2008/01/07/173292.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">宜章县</a>| <a href="http://" target="_blank">灯塔市</a>| <a href="http://" target="_blank">略阳县</a>| <a href="http://" target="_blank">岗巴县</a>| <a href="http://" target="_blank">保山市</a>| <a href="http://" target="_blank">襄垣县</a>| <a href="http://" target="_blank">日喀则市</a>| <a href="http://" target="_blank">龙江县</a>| <a href="http://" target="_blank">石渠县</a>| <a href="http://" target="_blank">巴楚县</a>| <a href="http://" target="_blank">尚志市</a>| <a href="http://" target="_blank">濮阳市</a>| <a href="http://" target="_blank">胶州市</a>| <a href="http://" target="_blank">峡江县</a>| <a href="http://" target="_blank">怀化市</a>| <a href="http://" target="_blank">婺源县</a>| <a href="http://" target="_blank">蒙阴县</a>| <a href="http://" target="_blank">九台市</a>| <a href="http://" target="_blank">阿克</a>| <a href="http://" target="_blank">达日县</a>| <a href="http://" target="_blank">湘阴县</a>| <a href="http://" target="_blank">嘉禾县</a>| <a href="http://" target="_blank">运城市</a>| <a href="http://" target="_blank">乳山市</a>| <a href="http://" target="_blank">栾城县</a>| <a href="http://" target="_blank">蓬溪县</a>| <a href="http://" target="_blank">兰溪市</a>| <a href="http://" target="_blank">合水县</a>| <a href="http://" target="_blank">昌邑市</a>| <a href="http://" target="_blank">弥勒县</a>| <a href="http://" target="_blank">襄汾县</a>| <a href="http://" target="_blank">全州县</a>| <a href="http://" target="_blank">桓仁</a>| <a href="http://" target="_blank">开化县</a>| <a href="http://" target="_blank">菏泽市</a>| <a href="http://" target="_blank">佛冈县</a>| <a href="http://" target="_blank">越西县</a>| <a href="http://" target="_blank">三台县</a>| <a href="http://" target="_blank">沅江市</a>| <a href="http://" target="_blank">宜阳县</a>| <a href="http://" 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>