org.eclipse.cdt.internal.ui.buildconsole
Class BuildConsolePartitioner
java.lang.Object
org.eclipse.cdt.internal.ui.buildconsole.BuildConsolePartitioner
- All Implemented Interfaces:
- java.util.EventListener, IConsole, org.eclipse.jface.text.IDocumentPartitioner, org.eclipse.jface.text.IDocumentPartitionerExtension, org.eclipse.jface.util.IPropertyChangeListener
public class BuildConsolePartitioner
- extends java.lang.Object
- implements org.eclipse.jface.text.IDocumentPartitioner, org.eclipse.jface.text.IDocumentPartitionerExtension, IConsole, org.eclipse.jface.util.IPropertyChangeListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildConsolePartitioner
public BuildConsolePartitioner(BuildConsoleManager manager)
appendToDocument
public void appendToDocument(java.lang.String text,
BuildConsoleStream stream)
- Adds the new text to the document.
- Parameters:
text
- the text to appendstream
- the stream to append to
getDocument
public org.eclipse.jface.text.IDocument getDocument()
setDocumentSize
public void setDocumentSize(int nLines)
connect
public void connect(org.eclipse.jface.text.IDocument document)
- Specified by:
connect
in interface org.eclipse.jface.text.IDocumentPartitioner
disconnect
public void disconnect()
- Specified by:
disconnect
in interface org.eclipse.jface.text.IDocumentPartitioner
documentAboutToBeChanged
public void documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentAboutToBeChanged
in interface org.eclipse.jface.text.IDocumentPartitioner
documentChanged
public boolean documentChanged(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentChanged
in interface org.eclipse.jface.text.IDocumentPartitioner
getLegalContentTypes
public java.lang.String[] getLegalContentTypes()
- Specified by:
getLegalContentTypes
in interface org.eclipse.jface.text.IDocumentPartitioner
- See Also:
IDocumentPartitioner.getLegalContentTypes()
getContentType
public java.lang.String getContentType(int offset)
- Specified by:
getContentType
in interface org.eclipse.jface.text.IDocumentPartitioner
- See Also:
IDocumentPartitioner.getContentType(int)
computePartitioning
public org.eclipse.jface.text.ITypedRegion[] computePartitioning(int offset,
int length)
- Specified by:
computePartitioning
in interface org.eclipse.jface.text.IDocumentPartitioner
- See Also:
IDocumentPartitioner.computePartitioning(int,
int)
getPartition
public org.eclipse.jface.text.ITypedRegion getPartition(int offset)
- Specified by:
getPartition
in interface org.eclipse.jface.text.IDocumentPartitioner
- See Also:
IDocumentPartitioner.getPartition(int)
documentChanged2
public org.eclipse.jface.text.IRegion documentChanged2(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentChanged2
in interface org.eclipse.jface.text.IDocumentPartitionerExtension
getConsole
public IConsole getConsole()
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
- Specified by:
propertyChange
in interface org.eclipse.jface.util.IPropertyChangeListener
start
public void start(org.eclipse.core.resources.IProject project)
- Specified by:
start
in interface IConsole
getOutputStream
public ConsoleOutputStream getOutputStream()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getOutputStream
in interface IConsole
- Throws:
org.eclipse.core.runtime.CoreException
getInfoStream
public ConsoleOutputStream getInfoStream()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getInfoStream
in interface IConsole
- Throws:
org.eclipse.core.runtime.CoreException
getErrorStream
public ConsoleOutputStream getErrorStream()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getErrorStream
in interface IConsole
- Throws:
org.eclipse.core.runtime.CoreException