﻿<?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/jame-liu/CommentsRSS.aspx</link><description>一切皆有可能</description><language>zh-cn</language><pubDate>Sat, 23 Sep 2006 05:29:15 GMT</pubDate><lastBuildDate>Sat, 23 Sep 2006 05:29:15 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 创建TableViewer</title><link>http://www.blogjava.net/jame-liu/archive/2006/06/28/17789.html#55450</link><dc:creator>jame</dc:creator><author>jame</author><pubDate>Wed, 28 Jun 2006 01:02:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/archive/2006/06/28/17789.html#55450</guid><description><![CDATA[这个类其实只是一个模型,提示一下我是采用selected (boolean)属性判断是否选择(CheckBox)<br><br>那个类是以前DEMO中截取的代码片断,抱歉目前不能给出这个类.<br><br>但是基本的原理我可以写出来.<br><br>class MichelleSelectedModule{<br>...<br>private boolean selected=false<br>public void setSelected(boolean selected){<br>  this.selected=selected;<br>}<br>public boolean isSelected(){<br>  return selected;<br>}<br>...<br>}<br>模型是CheckBoxContentProvider 接口提供的<br>模型UI修改是通过ModuleSelectionModifier来实现的<br>UI展示是通过LabelProvider  来实现的.<br>其实很简单JFace标准结构,符合MVC这样的结构<img src ="http://www.blogjava.net/jame-liu/aggbug/55450.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">jame</a> 2006-06-28 09:02 <a href="http://www.blogjava.net/jame-liu/archive/2006/06/28/17789.html#55450#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 创建TableViewer</title><link>http://www.blogjava.net/jame-liu/archive/2006/06/26/17789.html#55157</link><dc:creator>江山</dc:creator><author>江山</author><pubDate>Mon, 26 Jun 2006 07:21:00 GMT</pubDate><guid>http://www.blogjava.net/jame-liu/archive/2006/06/26/17789.html#55157</guid><description><![CDATA[MichelleSelectedModule <br>这个类的代码没有么？能不能把代码给全呢？<img src ="http://www.blogjava.net/jame-liu/aggbug/55157.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jame-liu/" target="_blank">江山</a> 2006-06-26 15:21 <a href="http://www.blogjava.net/jame-liu/archive/2006/06/26/17789.html#55157#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>