1 11 package org.eclipse.debug.ui.console; 12 13 14 import org.eclipse.debug.core.model.IProcess; 15 import org.eclipse.debug.core.model.IStreamMonitor; 16 import org.eclipse.debug.core.model.IStreamsProxy; 17 import org.eclipse.jface.text.IDocument; 18 import org.eclipse.jface.text.IRegion; 19 import org.eclipse.ui.console.IHyperlink; 20 import org.eclipse.ui.console.IOConsoleOutputStream; 21 import org.eclipse.ui.console.IPatternMatchListener; 22 23 33 public interface IConsole { 34 35 42 public void connect(IStreamsProxy streamsProxy); 43 44 52 public void connect(IStreamMonitor streamMonitor, String streamIdentifer); 53 54 68 public void addLink(IConsoleHyperlink link, int offset, int length); 69 70 84 public void addLink(IHyperlink link, int offset, int length); 85 86 95 public IRegion getRegion(IConsoleHyperlink link); 96 97 106 public IRegion getRegion(IHyperlink link); 107 108 113 public IDocument getDocument(); 114 115 120 public IProcess getProcess(); 121 122 128 public void addPatternMatchListener(IPatternMatchListener matchListener); 129 130 136 public void removePatternMatchListener(IPatternMatchListener matchListener); 137 138 144 public IOConsoleOutputStream getStream(String streamIdentifier); 145 } 146 | Popular Tags |