|
From: Christopher W. <caw...@us...> - 2005-12-13 21:10:53
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24867/src/org/rubypeople/rdt/internal/debug/ui/launcher Modified Files: RubyEnvironmentTab.java LoadPathEntryLabelProvider.java Log Message: implement Ticket #46 (Update code folding on current working copy/editor) Index: RubyEnvironmentTab.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyEnvironmentTab.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** RubyEnvironmentTab.java 12 Jul 2005 22:10:56 -0000 1.21 --- RubyEnvironmentTab.java 13 Dec 2005 21:10:44 -0000 1.22 *************** *** 27,31 **** import org.eclipse.swt.widgets.TabItem; import org.rubypeople.rdt.core.RubyCore; ! import org.rubypeople.rdt.internal.core.LoadPathEntry; import org.rubypeople.rdt.internal.core.RubyProject; import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiMessages; --- 27,31 ---- import org.eclipse.swt.widgets.TabItem; import org.rubypeople.rdt.core.RubyCore; ! import org.rubypeople.rdt.internal.core.LoadpathEntry; import org.rubypeople.rdt.internal.core.RubyProject; import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiMessages; *************** *** 223,227 **** List loadPathStrings = new ArrayList(); for (Iterator iterator = loadPathEntries.iterator(); iterator.hasNext();) { ! LoadPathEntry entry = (LoadPathEntry) iterator.next(); loadPathStrings.add(entry.getPath().toString()); } --- 223,227 ---- List loadPathStrings = new ArrayList(); for (Iterator iterator = loadPathEntries.iterator(); iterator.hasNext();) { ! LoadpathEntry entry = (LoadpathEntry) iterator.next(); loadPathStrings.add(entry.getPath().toString()); } Index: LoadPathEntryLabelProvider.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/LoadPathEntryLabelProvider.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** LoadPathEntryLabelProvider.java 29 Aug 2005 16:06:49 -0000 1.5 --- LoadPathEntryLabelProvider.java 13 Dec 2005 21:10:44 -0000 1.6 *************** *** 5,9 **** import org.eclipse.jface.viewers.ILabelProviderListener; import org.eclipse.swt.graphics.Image; ! import org.rubypeople.rdt.internal.core.LoadPathEntry; import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiPlugin; --- 5,9 ---- import org.eclipse.jface.viewers.ILabelProviderListener; import org.eclipse.swt.graphics.Image; ! import org.rubypeople.rdt.internal.core.LoadpathEntry; import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiPlugin; *************** *** 27,32 **** */ public String getText(Object element) { ! if (element != null && element.getClass() == LoadPathEntry.class) { ! IProject project = ((LoadPathEntry) element).getProject() ; if (project.isAccessible()) { return project.getLocation().toOSString() ; --- 27,32 ---- */ public String getText(Object element) { ! if (element != null && element.getClass() == LoadpathEntry.class) { ! IProject project = ((LoadpathEntry) element).getProject() ; if (project.isAccessible()) { return project.getLocation().toOSString() ; |