|
From: <caw...@us...> - 2007-09-12 20:42:25
|
Revision: 3163
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3163&view=rev
Author: cawilliams
Date: 2007-09-12 13:42:24 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
fix toggling of external breakpoints (though it seems that the icon is still messed up).
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/ExternalFileRubyAnnotationModel.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/ExternalFileRubyAnnotationModel.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/ExternalFileRubyAnnotationModel.java 2007-09-12 20:12:28 UTC (rev 3162)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/ExternalFileRubyAnnotationModel.java 2007-09-12 20:42:24 UTC (rev 3163)
@@ -10,9 +10,11 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.jface.text.Position;
import org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel;
import org.rubypeople.rdt.core.IRubyScript;
import org.rubypeople.rdt.internal.core.ExternalRubyScript;
+import org.rubypeople.rdt.internal.ui.RubyPlugin;
public class ExternalFileRubyAnnotationModel extends AbstractMarkerAnnotationModel {
@@ -22,6 +24,7 @@
public ExternalFileRubyAnnotationModel(IRubyScript script) {
fScript = script;
fWorkspace= ResourcesPlugin.getWorkspace();
+ // TODO Grab all the markers from workspace root which match this file, and add annotaions for them?
}
protected void deleteMarkers(final IMarker[] markers) throws CoreException {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|