|
From: Markus B. <mba...@us...> - 2005-07-13 14:30:09
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4482/src/org/rubypeople/rdt/internal/debug/ui/tests Modified Files: TC_RubyConsoleTracker.java TC_RubySourceLocator.java Log Message: updates for 3.1 Index: TC_RubySourceLocator.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/tests/TC_RubySourceLocator.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TC_RubySourceLocator.java 14 Nov 2004 09:33:41 -0000 1.2 --- TC_RubySourceLocator.java 13 Jul 2005 14:29:55 -0000 1.3 *************** *** 202,205 **** --- 202,210 ---- return null; } + + public ILaunch launch(String mode, IProgressMonitor monitor, boolean build, boolean register) throws CoreException { + // TODO Auto-generated method stub + return null; + } } } Index: TC_RubyConsoleTracker.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui.tests/src/org/rubypeople/rdt/internal/debug/ui/tests/TC_RubyConsoleTracker.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TC_RubyConsoleTracker.java 28 Mar 2005 23:23:02 -0000 1.2 --- TC_RubyConsoleTracker.java 13 Jul 2005 14:29:55 -0000 1.3 *************** *** 9,19 **** import org.eclipse.debug.core.model.IStreamMonitor; import org.eclipse.debug.core.model.IStreamsProxy; - import org.eclipse.debug.internal.ui.views.console.ConsoleOutputTextStore; import org.eclipse.debug.ui.console.IConsole; import org.eclipse.debug.ui.console.IConsoleHyperlink; import org.eclipse.jface.text.AbstractDocument; import org.eclipse.jface.text.DefaultLineTracker; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IRegion; import org.rubypeople.rdt.internal.debug.ui.console.RubyConsoleTracker; import org.rubypeople.rdt.internal.debug.ui.console.RubyStackTraceHyperlink; --- 9,22 ---- import org.eclipse.debug.core.model.IStreamMonitor; import org.eclipse.debug.core.model.IStreamsProxy; import org.eclipse.debug.ui.console.IConsole; import org.eclipse.debug.ui.console.IConsoleHyperlink; import org.eclipse.jface.text.AbstractDocument; import org.eclipse.jface.text.DefaultLineTracker; + import org.eclipse.jface.text.GapTextStore; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IRegion; + import org.eclipse.jface.text.hyperlink.IHyperlink; + import org.eclipse.ui.console.IOConsoleOutputStream; + import org.eclipse.ui.console.IPatternMatchListener; import org.rubypeople.rdt.internal.debug.ui.console.RubyConsoleTracker; import org.rubypeople.rdt.internal.debug.ui.console.RubyStackTraceHyperlink; *************** *** 115,119 **** } ! public void addLink(IConsoleHyperlink pLink, int pOffset, int pLength) { MetaLink metaLink = new MetaLink(); metaLink.link = (RubyStackTraceHyperlink) pLink ; --- 118,125 ---- } ! public void addLink(IConsoleHyperlink pLink, int pOffset, int pLength) { ! } ! ! public void addLink(org.eclipse.ui.console.IHyperlink pLink, int pOffset, int pLength) { MetaLink metaLink = new MetaLink(); metaLink.link = (RubyStackTraceHyperlink) pLink ; *************** *** 135,139 **** throw new RuntimeException("Not Implemented Exception"); } ! public IRegion getRegion(IConsoleHyperlink link) { throw new RuntimeException("Not Implemented Exception"); } --- 141,145 ---- throw new RuntimeException("Not Implemented Exception"); } ! public IRegion getRegion(IConsole link) { throw new RuntimeException("Not Implemented Exception"); } *************** *** 143,151 **** tracker.lineAppended(doc.getLineInformationOfOffset(1)) ; } } public class SimpleDocument extends AbstractDocument { public SimpleDocument() { ! this.setTextStore(new ConsoleOutputTextStore(1000)) ; setLineTracker(new DefaultLineTracker()); completeInitialization(); --- 149,183 ---- tracker.lineAppended(doc.getLineInformationOfOffset(1)) ; } + + public IRegion getRegion(IConsoleHyperlink link) { + // TODO Auto-generated method stub + return null; + } + + public IRegion getRegion(org.eclipse.ui.console.IHyperlink link) { + // TODO Auto-generated method stub + return null; + } + + public void addPatternMatchListener(IPatternMatchListener matchListener) { + // TODO Auto-generated method stub + + } + + public void removePatternMatchListener(IPatternMatchListener matchListener) { + // TODO Auto-generated method stub + + } + + public IOConsoleOutputStream getStream(String streamIdentifier) { + // TODO Auto-generated method stub + return null; + } } public class SimpleDocument extends AbstractDocument { public SimpleDocument() { ! // The text store is not really necessary, but there is a not null assert in AbstractDocument ! this.setTextStore(new GapTextStore(1,2)) ; setLineTracker(new DefaultLineTracker()); completeInitialization(); |