|
From: Christopher W. <caw...@us...> - 2006-04-04 23:12:48
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/browsing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25331/src/org/rubypeople/rdt/internal/ui/browsing Modified Files: TypesView.java Log Message: append file info to types listed in TypesView for Browsing Perspective (since otherwise we'll see lots of exact duplicates for every place a class was redefined/re-opened) Index: TypesView.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/browsing/TypesView.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TypesView.java 30 Mar 2006 03:09:01 -0000 1.2 --- TypesView.java 4 Apr 2006 23:12:41 -0000 1.3 *************** *** 6,10 **** --- 6,14 ---- import org.rubypeople.rdt.core.IRubyScript; import org.rubypeople.rdt.core.IType; + import org.rubypeople.rdt.internal.ui.viewsupport.AppearanceAwareLabelProvider; + import org.rubypeople.rdt.internal.ui.viewsupport.RubyElementImageProvider; + import org.rubypeople.rdt.internal.ui.viewsupport.RubyUILabelProvider; import org.rubypeople.rdt.ui.PreferenceConstants; + import org.rubypeople.rdt.ui.RubyElementLabels; public class TypesView extends RubyBrowsingPart { *************** *** 26,29 **** --- 30,40 ---- } + protected RubyUILabelProvider createLabelProvider() { + return new AppearanceAwareLabelProvider( + AppearanceAwareLabelProvider.DEFAULT_TEXTFLAGS | RubyElementLabels.T_DECLARATION_POINT, + AppearanceAwareLabelProvider.DEFAULT_IMAGEFLAGS + | RubyElementImageProvider.SMALL_ICONS); + } + /** * Finds the element which has to be selected in this part. |