Uses of Interface
org.eclipse.jface.text.IDocument
-
Packages that use IDocument Package Description org.eclipse.compare Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.org.eclipse.compare.contentmergeviewer Support for compare and merge viewers which show the content side-by-side.org.eclipse.compare.structuremergeviewer Provides support for finding and displaying the differences between hierarchically structured data.org.eclipse.core.filebuffers Provides the API for accessing file buffers.org.eclipse.core.filebuffers.manipulation Provides the API for manipulating file buffers.org.eclipse.debug.ui.actions Provides a set of actions related to running and debugging applications.org.eclipse.debug.ui.console Provides a set of interfaces and classes for rendering and annotating text in the debug console.org.eclipse.jface.contentassist Provides a content assist add-on for implementors ofIContentAssistSubjectControl.org.eclipse.jface.text Provides a framework for creating and manipulating text documents.org.eclipse.jface.text.contentassist Provides a content assist add-on for anITextViewer.org.eclipse.jface.text.formatter Provides a content formatter add-on for anITextViewer.org.eclipse.jface.text.hyperlink Provides support for detecting and displaying hyperlinks inISourceViewers.org.eclipse.jface.text.link Application programming interfaces for interaction with the Eclipse text editor's linked position support.org.eclipse.jface.text.presentation Provides a presentation reconciler add-on for anITextViewer.org.eclipse.jface.text.projection This package provides an implementation of projection documents.org.eclipse.jface.text.reconciler Provides a reconciler add-on for anITextViewer.org.eclipse.jface.text.rules Provides a framework for rule based text scanning and uses the framework to provide rule-driven default implementations ofIPresentationDamager,IPresentationRepairerandIDocumentPartitioner.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.text.source.projection This package provides the UI part for projection documents of which the most important part is the projection viewer.org.eclipse.jface.text.templates Application programming interfaces for interaction with the Eclipse text template support.org.eclipse.ltk.core.refactoring Application programmer interface to implement semantic preserving workspace transformations.org.eclipse.ltk.ui.refactoring Application programming interface to implement a wizard based user interface for refactorings.org.eclipse.search.ui.text Provides the base classes to implement a search result view part for searches with textual matches.org.eclipse.text.edits Provides support for describing and applying textual document editions.org.eclipse.text.undo Provides undo and redo support for a document.org.eclipse.ui.console Application programming interfaces for interaction with the Eclipse console.org.eclipse.ui.editors.text Provides a standard text editor and concrete document providers basedIFileBufferand others directly handlingIFileandIStorageas editor input.org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.org.eclipse.ui.texteditor.quickdiff Provides interfaces to for theorg.eclipse.ui.editors.quickDiffReferenceProviderextension point and adds an action to enable quick diff display for an editor.org.eclipse.ui.texteditor.spelling Partial infrastructure for spell checking in text editors.org.eclipse.ui.texteditor.templates Application programming interfaces for interaction with the Eclipse text editor template support. -
-
Uses of IDocument in org.eclipse.compare
Methods in org.eclipse.compare that return IDocument Modifier and Type Method Description static IDocumentCompareUI. getDocument(Object input)Retrieve a document for the given input or returnnullif no document has been registered for the input.Methods in org.eclipse.compare with parameters of type IDocument Modifier and Type Method Description voidISharedDocumentAdapter. flushDocument(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite)Flush the contents of the given document into the typed element that provided the document.static voidCompareUI. registerDocument(Object input, IDocument document)Register a document for the given input.protected voidSharedDocumentAdapter. saveDocument(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite, IProgressMonitor monitor)A helper method to save a document.static voidCompareUI. unregisterDocument(IDocument document)Unregister the given document. -
Uses of IDocument in org.eclipse.compare.contentmergeviewer
Methods in org.eclipse.compare.contentmergeviewer that return IDocument Modifier and Type Method Description IDocumentIDocumentRange. getDocument()Returns the underlying document.Methods in org.eclipse.compare.contentmergeviewer with parameters of type IDocument Modifier and Type Method Description protected voidTextMergeViewer. setupDocument(IDocument document)Setup the given document for use with this viewer. -
Uses of IDocument in org.eclipse.compare.structuremergeviewer
Methods in org.eclipse.compare.structuremergeviewer that return IDocument Modifier and Type Method Description IDocumentDocumentRangeNode. getDocument()Methods in org.eclipse.compare.structuremergeviewer with parameters of type IDocument Modifier and Type Method Description protected abstract IStructureComparatorStructureCreator. createStructureComparator(Object element, IDocument document, ISharedDocumentAdapter sharedDocumentAdapter, IProgressMonitor monitor)Creates anIStructureComparatorfor the given element using the contents available in the given document.voidSharedDocumentAdapterWrapper. flushDocument(IDocumentProvider provider, IEditorInput documentKey, IDocument document, boolean overwrite)protected voidStructureCreator. setupDocument(IDocument document)Sets up the newly created document as appropriate.Constructors in org.eclipse.compare.structuremergeviewer with parameters of type IDocument Constructor Description DocumentRangeNode(int typeCode, String id, IDocument document, int start, int length)Creates a newDocumentRangeNodefor the given range within the specified document.DocumentRangeNode(DocumentRangeNode parent, int typeCode, String id, IDocument document, int start, int length)Creates a newDocumentRangeNodefor the given range within the specified document.StructureRootNode(IDocument document, Object input, StructureCreator creator, ISharedDocumentAdapter adapter)Create the structure root node. -
Uses of IDocument in org.eclipse.core.filebuffers
Methods in org.eclipse.core.filebuffers that return IDocument Modifier and Type Method Description IDocumentIDocumentFactory. createDocument()Deprecated.Creates and returns a new, empty document.IDocumentITextFileBufferManager. createEmptyDocument(IPath location)Deprecated.As of 3.3, replaced byITextFileBufferManager.createEmptyDocument(IPath, LocationKind)IDocumentITextFileBufferManager. createEmptyDocument(IPath location, LocationKind locationKind)Creates a new empty document.IDocumentITextFileBuffer. getDocument()Returns the document of this text file buffer.Methods in org.eclipse.core.filebuffers with parameters of type IDocument Modifier and Type Method Description voidIPersistableAnnotationModel. commit(IDocument document)Transforms the current transient state of the annotation model into a persistent state.ITextFileBufferITextFileBufferManager. getTextFileBuffer(IDocument document)Returns the text file buffer managed for the given document ornullif there is no such text file buffer.voidIPersistableAnnotationModel. reinitialize(IDocument document)Forces this annotation model to re-initialize from the persistent state.voidIPersistableAnnotationModel. revert(IDocument document)Changes the current transient state of the annotation model to match the last persisted state.voidIDocumentSetupParticipant. setup(IDocument document)Sets up the document to be ready for use by a text file buffer.voidIDocumentSetupParticipantExtension. setup(IDocument document, IPath location, LocationKind locationKind)Sets up the document to be ready for use by a text file buffer. -
Uses of IDocument in org.eclipse.core.filebuffers.manipulation
Methods in org.eclipse.core.filebuffers.manipulation with parameters of type IDocument Modifier and Type Method Description UndoEditMultiTextEditWithProgress. apply(IDocument document, int style, IProgressMonitor progressMonitor)UndoEditMultiTextEditWithProgress. apply(IDocument document, IProgressMonitor progressMonitor) -
Uses of IDocument in org.eclipse.debug.ui.actions
Constructors in org.eclipse.debug.ui.actions with parameters of type IDocument Constructor Description RunToLineAction(IWorkbenchPart part, IDocument document, IVerticalRulerInfo rulerInfo)Constructs a new action to toggle a breakpoint in the given part containing the given document and ruler.ToggleBreakpointAction(IWorkbenchPart part, IDocument document, IVerticalRulerInfo rulerInfo)Constructs a new action to toggle a breakpoint in the given part containing the given document and ruler. -
Uses of IDocument in org.eclipse.debug.ui.console
Methods in org.eclipse.debug.ui.console that return IDocument Modifier and Type Method Description IDocumentIConsole. getDocument()Returns the document associated with this console. -
Uses of IDocument in org.eclipse.jface.contentassist
Methods in org.eclipse.jface.contentassist that return IDocument Modifier and Type Method Description IDocumentComboContentAssistSubjectAdapter. getDocument()Deprecated.IDocumentIContentAssistSubjectControl. getDocument()Returns this content assist subject control's document.IDocumentTextContentAssistSubjectAdapter. getDocument()Deprecated. -
Uses of IDocument in org.eclipse.jface.text
Classes in org.eclipse.jface.text that implement IDocument Modifier and Type Class Description classAbstractDocumentAbstract default implementation ofIDocumentand its extension interfacesIDocumentExtension,IDocumentExtension2,IDocumentExtension3,IDocumentExtension4, as well asIRepairableDocument.classDocumentDefault document implementation.Fields in org.eclipse.jface.text declared as IDocument Modifier and Type Field Description protected IDocumentDefaultPositionUpdater. fDocumentCaches the documentIDocumentDocumentEvent. fDocumentThe changed documentIDocumentDocumentRewriteSessionEvent. fDocumentThe changed documentMethods in org.eclipse.jface.text that return IDocument Modifier and Type Method Description IDocumentISlaveDocumentManager. createSlaveDocument(IDocument master)Creates a new slave document for the given master document.protected IDocumentTextViewer. createSlaveDocument(IDocument document)Creates a slave document for the given document if there is a slave document manager associated with this viewer.IDocumentDocumentEvent. getDocument()Returns the changed document.IDocumentDocumentPartitioningChangedEvent. getDocument()Returns the changed document.IDocumentDocumentRewriteSessionEvent. getDocument()Returns the changed document.IDocumentIMarkSelection. getDocument()Returns the marked document.IDocumentIRewriteTarget. getDocument()Returns the document of this target.IDocumentITextViewer. getDocument()Returns the text viewer's input document.IDocumentMarkSelection. getDocument()protected IDocumentTextSelection. getDocument()Returns the document underlying the receiver, possiblynull.IDocumentTextViewer. getDocument()IDocumentISlaveDocumentManager. getMasterDocument(IDocument slave)Returns the master document of the given slave document ornullif the given document is unknown to this slave document manager.IDocument[]ISlaveDocumentManagerExtension. getSlaveDocuments(IDocument master)Returns the list of slave documents for the given master document ornullif there are no such slave document.protected IDocumentTextViewer. getVisibleDocument()Returns the viewer's visible document.Methods in org.eclipse.jface.text with parameters of type IDocument Modifier and Type Method Description static voidTextUtilities. addDocumentPartitioners(IDocument document, Map<String,? extends IDocumentPartitioner> partitioners)Connects the given document with all document partitioners stored in the given map under their partitioning name.static ITypedRegion[]TextUtilities. computePartitioning(IDocument document, String partitioning, int offset, int length, boolean includeZeroLengthPartitions)Computes and returns the partitioning for the given region of the given document for the given partitioning name.static String[]TextUtilities. computePartitionManagingCategories(IDocument document)Computes and returns the partition managing position categories for the given document ornullif this was impossible.voidIDocumentPartitioner. connect(IDocument document)Connects the partitioner to a document.voidIDocumentPartitionerExtension3. connect(IDocument document, boolean delayInitialization)Connects this partitioner to a document.IDocumentInformationMappingISlaveDocumentManager. createMasterSlaveMapping(IDocument slave)Creates a new document information mapping between the given slave document and its master document.IDocumentISlaveDocumentManager. createSlaveDocument(IDocument master)Creates a new slave document for the given master document.protected IDocumentTextViewer. createSlaveDocument(IDocument document)Creates a slave document for the given document if there is a slave document manager associated with this viewer.voidDefaultIndentLineAutoEditStrategy. customizeDocumentCommand(IDocument d, DocumentCommand c)voidIAutoEditStrategy. customizeDocumentCommand(IDocument document, DocumentCommand command)Allows the strategy to manipulate the document command.voidTabsToSpacesConverter. customizeDocumentCommand(IDocument document, DocumentCommand command)voidIDocumentPartitioningListener. documentPartitioningChanged(IDocument document)The partitioning of the given document changed.voidIDocumentPartitioningListenerExtension. documentPartitioningChanged(IDocument document, IRegion region)The partitioning of the given document changed in the given region.protected intDefaultIndentLineAutoEditStrategy. findEndOfWhiteSpace(IDocument document, int offset, int end)Returns the first offset greater thanoffsetand smaller thanendwhose character is not a space or tab character.protected IRegionDefaultTextDoubleClickStrategy. findExtendedDoubleClickSelection(IDocument document, int offset)Tries to find a suitable double click selection for the given offset.protected IRegionDefaultTextDoubleClickStrategy. findWord(IDocument document, int offset)Tries to find the word at the given offset.protected voidTextViewer. fireInputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)Informs all registered text input listeners about the forthcoming input change, This method does not use a robust iterator.protected voidTextViewer. fireInputDocumentChanged(IDocument oldInput, IDocument newInput)Informs all registered text input listeners about the successful input change, This method does not use a robust iterator.voidISlaveDocumentManager. freeSlaveDocument(IDocument slave)Frees the given slave document.protected voidTextViewer. freeSlaveDocument(IDocument slave)Frees the given document if it is a slave document.static StringTextUtilities. getContentType(IDocument document, String partitioning, int offset, boolean preferOpenPartitions)Returns the content type at the given offset of the given document.static StringTextUtilities. getDefaultLineDelimiter(IDocument document)Returns the default line delimiter for the given document.IDocumentISlaveDocumentManager. getMasterDocument(IDocument slave)Returns the master document of the given slave document ornullif the given document is unknown to this slave document manager.static ITypedRegionTextUtilities. getPartition(IDocument document, String partitioning, int offset, boolean preferOpenPartitions)Returns the partition of the given offset of the given document.IDocument[]ISlaveDocumentManagerExtension. getSlaveDocuments(IDocument master)Returns the list of slave documents for the given master document ornullif there are no such slave document.protected voidTextViewer. initializeDocumentInformationMapping(IDocument visibleDocument)Initializes the document information mapping between the given slave document and its master document.voidITextInputListener. inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)Called before the input document is replaced.voidPaintManager. inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)voidITextInputListener. inputDocumentChanged(IDocument oldInput, IDocument newInput)Called after the input document has been replaced.voidPaintManager. inputDocumentChanged(IDocument oldInput, IDocument newInput)booleanISlaveDocumentManager. isSlaveDocument(IDocument document)Returns whether the given document is a slave document known to this slave document manager.static DocumentEventTextUtilities. mergeUnprocessedDocumentEvents(IDocument unprocessedDocument, List<? extends DocumentEvent> documentEvents)Returns a document event which is an accumulation of a list of document events,nullif the list of documentEvents is empty.voidIDocumentExtension.IReplace. perform(IDocument document, IDocumentListener owner)Executes the replace operation on the given document.static Map<String,IDocumentPartitioner>TextUtilities. removeDocumentPartitioners(IDocument document)Removes all connected document partitioners from the given document and stores them under their partitioning name in a map.voidISlaveDocumentManager. setAutoExpandMode(IDocument slave, boolean autoExpand)Sets the given slave document's auto expand mode.voidIDocumentAdapter. setDocument(IDocument document)Sets the adapters document.voidITextViewer. setDocument(IDocument document)Sets the given document as the text viewer's model and updates the presentation accordingly.voidITextViewer. setDocument(IDocument document, int modelRangeOffset, int modelRangeLength)Sets the given document as this viewer's model and exposes the specified region.voidTextViewer. setDocument(IDocument document)voidTextViewer. setDocument(IDocument document, int modelRangeOffset, int modelRangeLength)protected voidTextViewer. setVisibleDocument(IDocument document)Sets this viewer's visible document.protected booleanTextViewer. updateSlaveDocument(IDocument slaveDocument, int modelRangeOffset, int modelRangeLength)Updates the given slave document to show the specified range of its master document.protected booleanTextViewer. updateVisibleDocument(IDocument visibleDocument, int visibleRegionOffset, int visibleRegionLength)Deprecated.useupdateSlaveDocumentinsteadConstructors in org.eclipse.jface.text with parameters of type IDocument Constructor Description BlockTextSelection(IDocument document, int startLine, int startColumn, int endLine, int endColumn, int tabWidth)Creates a column selection for the given lines and columns.DocumentEvent(IDocument doc, int offset, int length, String text)Creates a new document event.DocumentPartitioningChangedEvent(IDocument document)Creates a new document partitioning changed event for the given document.DocumentRewriteSessionEvent(IDocument doc, DocumentRewriteSession session, Object changeType)Creates a new document event.FindReplaceDocumentAdapter(IDocument document)Constructs a new find replace document adapter.MarkSelection(IDocument document, int offset, int length)Creates a MarkSelection.RewriteSessionEditProcessor(IDocument document, TextEdit root, int style)Constructs a new edit processor for the given document.SlaveDocumentEvent(IDocument doc, int offset, int length, String text, DocumentEvent masterEvent)Creates a new slave document event.TextSelection(IDocument document, int offset, int length)Creates a text selection for the given range of the given document. -
Uses of IDocument in org.eclipse.jface.text.contentassist
Methods in org.eclipse.jface.text.contentassist with parameters of type IDocument Modifier and Type Method Description voidCompletionProposal. apply(IDocument document)voidICompletionProposal. apply(IDocument document)Inserts the proposed completion into the given document.voidICompletionProposalExtension. apply(IDocument document, char trigger, int offset)Applies the proposed completion to the given document.intICompletionProposalExtension3. getPrefixCompletionStart(IDocument document, int completionOffset)Returns the document offset at which the receiver would insert its proposal.CharSequenceICompletionProposalExtension3. getPrefixCompletionText(IDocument document, int completionOffset)Returns the string that would be inserted at the position returned fromICompletionProposalExtension3.getPrefixCompletionStart(IDocument, int)if this proposal was applied.PointCompletionProposal. getSelection(IDocument document)PointICompletionProposal. getSelection(IDocument document)Returns the new selection after the proposal has been applied to the given document in absolute document coordinates.StyledStringICompletionProposalExtension7. getStyledDisplayString(IDocument document, int offset, BoldStylerProvider boldStylerProvider)Returns the styled display string for this proposal with emphasized ranges that match the token at the current caret offset.booleanICompletionProposalExtension. isValidFor(IDocument document, int offset)Returns whether this completion proposal is valid for the given position in the given document.booleanICompletionProposalExtension2. validate(IDocument document, int offset, DocumentEvent event)Requests the proposal to be validated with respect to the document event. -
Uses of IDocument in org.eclipse.jface.text.formatter
Methods in org.eclipse.jface.text.formatter with parameters of type IDocument Modifier and Type Method Description voidContentFormatter. format(IDocument document, IRegion region)voidIContentFormatter. format(IDocument document, IRegion region)Formats the given region of the specified document.The formatter may safely assume that it is the only subject that modifies the document at this point in time.voidIContentFormatterExtension. format(IDocument document, IFormattingContext context)Formats the given region of the specified document.voidMultiPassContentFormatter. format(IDocument medium, IFormattingContext context)voidMultiPassContentFormatter. format(IDocument medium, IRegion region)protected voidMultiPassContentFormatter. formatMaster(IFormattingContext context, IDocument document, int offset, int length)Formats the document specified in the formatting context with the master formatting strategy.protected voidMultiPassContentFormatter. formatSlave(IFormattingContext context, IDocument document, int offset, int length, String type)Formats the document specified in the formatting context with the formatting strategy registered for the content type.protected voidMultiPassContentFormatter. formatSlaves(IFormattingContext context, IDocument document, int offset, int length)Formats the document specified in the formatting context with the slave formatting strategies.protected booleanContentFormatter. positionAboutToBeAdded(IDocument document, String category, Position position)The given position is about to be added to the given position category of the given document.protected voidContentFormatter. updateAffectedPositions(IDocument document, int[] positions, int offset)Updates all the overlapping positions. -
Uses of IDocument in org.eclipse.jface.text.hyperlink
Methods in org.eclipse.jface.text.hyperlink with parameters of type IDocument Modifier and Type Method Description voidDefaultHyperlinkPresenter. inputDocumentAboutToBeChanged(IDocument oldInput, IDocument newInput)voidDefaultHyperlinkPresenter. inputDocumentChanged(IDocument oldInput, IDocument newInput) -
Uses of IDocument in org.eclipse.jface.text.link
Methods in org.eclipse.jface.text.link that return IDocument Modifier and Type Method Description IDocumentLinkedPosition. getDocument()Methods in org.eclipse.jface.text.link with parameters of type IDocument Modifier and Type Method Description static voidLinkedModeModel. closeAllModels(IDocument document)Cancels any linked mode model on the specified document.static LinkedModeModelLinkedModeModel. getModel(IDocument document, int offset)Returns the model currently active ondocumentatoffset, ornullif there is none.static booleanLinkedModeModel. hasInstalledModel(IDocument document)Checks whether there is already a model installed ondocument.static booleanLinkedModeModel. hasInstalledModel(IDocument[] documents)Checks whether there is already a linked mode model installed on any of thedocuments.protected booleanLinkedPosition. includes(IDocument doc, int off, int len)Returns whether this position includes the range given byoffsetandlength.Constructors in org.eclipse.jface.text.link with parameters of type IDocument Constructor Description LinkedPosition(IDocument document, int offset, int length)Creates a new instance.LinkedPosition(IDocument document, int offset, int length, int sequence)Creates a new instance.ProposalPosition(IDocument document, int offset, int length, int sequence, ICompletionProposal[] proposals)Creates a new instance.ProposalPosition(IDocument document, int offset, int length, ICompletionProposal[] proposals)Creates a new instance, with no sequence number. -
Uses of IDocument in org.eclipse.jface.text.presentation
Methods in org.eclipse.jface.text.presentation with parameters of type IDocument Modifier and Type Method Description protected TextPresentationPresentationReconciler. createPresentation(IRegion damage, IDocument document)Constructs a "repair description" for the given damage and returns this description as a text presentation.voidIPresentationDamager. setDocument(IDocument document)Tells the presentation damager on which document it will work.voidIPresentationRepairer. setDocument(IDocument document)Tells the presentation repairer on which document it will work.protected voidPresentationReconciler. setDocumentToDamagers(IDocument document)Informs all registered damagers about the document on which they will work.protected voidPresentationReconciler. setDocumentToRepairers(IDocument document)Informs all registered repairers about the document on which they will work. -
Uses of IDocument in org.eclipse.jface.text.projection
Classes in org.eclipse.jface.text.projection that implement IDocument Modifier and Type Class Description classChildDocumentImplementation of a child document based onProjectionDocument.classProjectionDocumentAProjectionDocumentrepresents a projection of its master document.Methods in org.eclipse.jface.text.projection that return IDocument Modifier and Type Method Description IDocumentProjectionDocumentManager. createSlaveDocument(IDocument master)IDocumentProjectionDocument. getMasterDocument()Returns the master document of this projection document.IDocumentProjectionDocumentManager. getMasterDocument(IDocument slave)IDocumentChildDocument. getParentDocument()Returns the parent document of this child document.IDocument[]ProjectionDocumentManager. getSlaveDocuments(IDocument master)Methods in org.eclipse.jface.text.projection with parameters of type IDocument Modifier and Type Method Description IDocumentInformationMappingProjectionDocumentManager. createMasterSlaveMapping(IDocument slave)protected ProjectionDocumentChildDocumentManager. createProjectionDocument(IDocument master)protected ProjectionDocumentProjectionDocumentManager. createProjectionDocument(IDocument master)Factory method for projection documents.IDocumentProjectionDocumentManager. createSlaveDocument(IDocument master)voidProjectionDocumentManager. freeSlaveDocument(IDocument slave)IDocumentProjectionDocumentManager. getMasterDocument(IDocument slave)IDocument[]ProjectionDocumentManager. getSlaveDocuments(IDocument master)booleanProjectionDocumentManager. isSlaveDocument(IDocument document)voidProjectionDocumentManager. setAutoExpandMode(IDocument slave, boolean autoExpanding)Constructors in org.eclipse.jface.text.projection with parameters of type IDocument Constructor Description ChildDocument(IDocument masterDocument)Creates a new child document.ProjectionDocument(IDocument masterDocument)Creates a projection document for the given master document.ProjectionDocumentEvent(IDocument doc, int offset, int length, String text, int masterOffset, int masterLength)Creates a new projection change event for the given properties.ProjectionDocumentEvent(IDocument doc, int offset, int length, String text, int masterOffset, int masterLength, DocumentEvent masterEvent)Creates a new projection document event for the given properties.ProjectionDocumentEvent(IDocument doc, int offset, int length, String text, DocumentEvent masterEvent)Creates a new content change event caused by the given master document change.ProjectionMapping(IDocument masterDocument, String fragmentsCategory, IDocument slaveDocument, String segmentsCategory)Creates a new mapping between the given parent document and the given projection document. -
Uses of IDocument in org.eclipse.jface.text.reconciler
Methods in org.eclipse.jface.text.reconciler that return IDocument Modifier and Type Method Description protected IDocumentAbstractReconciler. getDocument()Returns the input document of the text viewer this reconciler is installed on.Methods in org.eclipse.jface.text.reconciler with parameters of type IDocument Modifier and Type Method Description protected abstract voidAbstractReconciler. reconcilerDocumentChanged(IDocument newDocument)Hook called when the document whose contents should be reconciled has been changed, i.e., the input document of the text viewer this reconciler is installed on.protected voidMonoReconciler. reconcilerDocumentChanged(IDocument document)protected voidReconciler. reconcilerDocumentChanged(IDocument document)voidIReconcilingStrategy. setDocument(IDocument document)Tells this reconciling strategy on which document it will work. -
Uses of IDocument in org.eclipse.jface.text.rules
Fields in org.eclipse.jface.text.rules declared as IDocument Modifier and Type Field Description protected IDocumentDefaultDamagerRepairer. fDocumentThe document this object works onprotected IDocumentDefaultPartitioner. fDocumentDeprecated.The partitioner's documentprotected IDocumentFastPartitioner. fDocumentThe partitioner's documentprotected IDocumentRuleBasedPartitioner. fDocumentDeprecated.The partitioner's documentprotected IDocumentRuleBasedScanner. fDocumentThe document to be scannedMethods in org.eclipse.jface.text.rules with parameters of type IDocument Modifier and Type Method Description voidDefaultPartitioner. connect(IDocument document)Deprecated.voidDefaultPartitioner. connect(IDocument document, boolean delayInitialization)Deprecated.voidFastPartitioner. connect(IDocument document)voidFastPartitioner. connect(IDocument document, boolean delayInitialization)Connects this partitioner to a document.voidRuleBasedPartitioner. connect(IDocument document)Deprecated.voidDefaultDamagerRepairer. setDocument(IDocument document)voidIPartitionTokenScanner. setPartialRange(IDocument document, int offset, int length, String contentType, int partitionOffset)Configures the scanner by providing access to the document range that should be scanned.voidRuleBasedPartitionScanner. setPartialRange(IDocument document, int offset, int length, String contentType, int partitionOffset)Configures the scanner by providing access to the document range that should be scanned.voidBufferedRuleBasedScanner. setRange(IDocument document, int offset, int length)voidITokenScanner. setRange(IDocument document, int offset, int length)Configures the scanner by providing access to the document range that should be scanned.voidRuleBasedPartitionScanner. setRange(IDocument document, int offset, int length)voidRuleBasedScanner. setRange(IDocument document, int offset, int length) -
Uses of IDocument in org.eclipse.jface.text.source
Fields in org.eclipse.jface.text.source declared as IDocument Modifier and Type Field Description protected IDocumentAnnotationModel. fDocumentThe document connected with this modelMethods in org.eclipse.jface.text.source with parameters of type IDocument Modifier and Type Method Description protected voidAnnotationModel. addPosition(IDocument document, Position position)Adds the given position to the default position category of the given document.voidAnnotationModel. connect(IDocument document)voidIAnnotationModel. connect(IDocument document)Connects the annotation model to a document.voidAnnotationModel. disconnect(IDocument document)voidIAnnotationModel. disconnect(IDocument document)Disconnects this model from a document.IRegionDefaultCharacterPairMatcher. findEnclosingPeerCharacters(IDocument document, int offset, int length)IRegionICharacterPairMatcherExtension. findEnclosingPeerCharacters(IDocument document, int offset, int length)Starting at the given selection, the matcher searches for a pair of enclosing peer characters and if it finds one, returns the minimal region of the document that contains the pair.booleanDefaultCharacterPairMatcher. isMatchedChar(char ch, IDocument document, int offset)booleanICharacterPairMatcherExtension. isMatchedChar(char ch, IDocument document, int offset)Checks whether the character is one of the characters matched by the pair matcher.booleanDefaultCharacterPairMatcher. isRecomputationOfEnclosingPairRequired(IDocument document, IRegion currentSelection, IRegion previousSelection)booleanICharacterPairMatcherExtension. isRecomputationOfEnclosingPairRequired(IDocument document, IRegion currentSelection, IRegion previousSelection)Computes whether a client needs to recompute the enclosing pair after a selection change in the document.IRegionDefaultCharacterPairMatcher. match(IDocument doc, int offset)IRegionDefaultCharacterPairMatcher. match(IDocument document, int offset, int length)IRegionICharacterPairMatcher. match(IDocument document, int offset)Starting at the given offset, the matcher chooses a character close to this offset.IRegionICharacterPairMatcherExtension. match(IDocument document, int offset, int length)Starting at the given offset (i.e. length 0) or the selected character, the matcher searches for the matching peer character and if it finds one, returns the minimal region of the document that contains both characters.protected voidAnnotationModel. removePosition(IDocument document, Position position)Removes the given position from the default position category of the given document.voidISourceViewer. setDocument(IDocument document, IAnnotationModel annotationModel)Sets the given document as this viewer's text model and the given annotation model as the model for this viewer's visual annotations.voidISourceViewer. setDocument(IDocument document, IAnnotationModel annotationModel, int modelRangeOffset, int modelRangeLength)Sets the given document as this viewer's text model and the given annotation model as the model for this viewer's visual annotations.voidSourceViewer. setDocument(IDocument document)voidSourceViewer. setDocument(IDocument document, int visibleRegionOffset, int visibleRegionLength)voidSourceViewer. setDocument(IDocument document, IAnnotationModel annotationModel)voidSourceViewer. setDocument(IDocument document, IAnnotationModel annotationModel, int modelRangeOffset, int modelRangeLength)protected voidSourceViewer. updateSlaveDocuments(IDocument masterDocument)Updates all slave documents of the given document. -
Uses of IDocument in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection with parameters of type IDocument Modifier and Type Method Description intIProjectionPosition. computeCaptionOffset(IDocument document)Returns the offset of the caption (the anchor region) of this projection position.IRegion[]IProjectionPosition. computeProjectionRegions(IDocument document)Returns an array of regions that should be collapsed when the annotation belonging to this position is collapsed.voidProjectionViewer. setDocument(IDocument document, IAnnotationModel annotationModel, int modelRangeOffset, int modelRangeLength)protected voidProjectionViewer. setVisibleDocument(IDocument document)protected booleanProjectionViewer. updateSlaveDocument(IDocument slaveDocument, int modelRangeOffset, int modelRangeLength) -
Uses of IDocument in org.eclipse.jface.text.templates
Methods in org.eclipse.jface.text.templates that return IDocument Modifier and Type Method Description IDocumentDocumentTemplateContext. getDocument()Returns the document.Methods in org.eclipse.jface.text.templates with parameters of type IDocument Modifier and Type Method Description voidTemplateProposal. apply(IDocument document)Deprecated.This method is no longer called by the framework and clients should overwriteTemplateProposal.apply(ITextViewer, char, int, int)insteadvoidTemplateProposal. apply(IDocument document, char trigger, int offset)Deprecated.This method is no longer called by the framework and clients should overwriteTemplateProposal.apply(ITextViewer, char, int, int)insteadintTemplateProposal. getPrefixCompletionStart(IDocument document, int completionOffset)CharSequenceTemplateProposal. getPrefixCompletionText(IDocument document, int completionOffset)PointTemplateProposal. getSelection(IDocument document)booleanTemplateProposal. isValidFor(IDocument document, int offset)booleanTemplateProposal. validate(IDocument document, int offset, DocumentEvent event)Constructors in org.eclipse.jface.text.templates with parameters of type IDocument Constructor Description DocumentTemplateContext(TemplateContextType type, IDocument document, int offset, int length)Creates a document template context.DocumentTemplateContext(TemplateContextType type, IDocument document, Position position)Creates a document template context. -
Uses of IDocument in org.eclipse.ltk.core.refactoring
Methods in org.eclipse.ltk.core.refactoring that return IDocument Modifier and Type Method Description protected IDocumentDocumentChange. acquireDocument(IProgressMonitor pm)protected abstract IDocumentTextChange. acquireDocument(IProgressMonitor pm)Acquires a reference to the document to be changed by this text change.protected IDocumentTextFileChange. acquireDocument(IProgressMonitor pm)IDocumentMultiStateTextFileChange. getCurrentDocument(IProgressMonitor monitor)Returns a document representing the current state of the buffer, prior to the application of the change.IDocumentTextChange. getCurrentDocument(IProgressMonitor pm)Returns the document this text change is associated to.IDocumentMultiStateTextFileChange. getPreviewDocument(IProgressMonitor monitor)Returns a document representing the preview of the refactored buffer, after the application of the change object.IDocumentTextChange. getPreviewDocument(IProgressMonitor pm)Returns a document containing a preview of the text change.Methods in org.eclipse.ltk.core.refactoring with parameters of type IDocument Modifier and Type Method Description protected voidDocumentChange. commit(IDocument document, IProgressMonitor pm)protected abstract voidTextChange. commit(IDocument document, IProgressMonitor pm)Commits the document acquired via a call toaquireDocument.protected voidTextFileChange. commit(IDocument document, IProgressMonitor pm)Commits the document acquired via a call toaquireDocument.protected UndoEditDocumentChange. performEdits(IDocument document)protected UndoEditTextChange. performEdits(IDocument document)Executes the text edits on the given document.protected UndoEditTextFileChange. performEdits(IDocument document)protected voidDocumentChange. releaseDocument(IDocument document, IProgressMonitor pm)protected abstract voidTextChange. releaseDocument(IDocument document, IProgressMonitor pm)Releases the document acquired via a call toaquireDocument.protected voidTextFileChange. releaseDocument(IDocument document, IProgressMonitor pm)Constructors in org.eclipse.ltk.core.refactoring with parameters of type IDocument Constructor Description DocumentChange(String name, IDocument document)Creates a newDocumentChangefor the givenIDocument. -
Uses of IDocument in org.eclipse.ltk.ui.refactoring
Methods in org.eclipse.ltk.ui.refactoring with parameters of type IDocument Modifier and Type Method Description protected voidTextStatusContextViewer. setInput(IDocument document, IRegion region)Sets the input of the source viewer to the given document and reveals the region determined by the given parameter region. -
Uses of IDocument in org.eclipse.search.ui.text
Methods in org.eclipse.search.ui.text that return IDocument Modifier and Type Method Description IDocumentISearchEditorAccess. getDocument(Match match)Finds the document displaying the match. -
Uses of IDocument in org.eclipse.text.edits
Methods in org.eclipse.text.edits that return IDocument Modifier and Type Method Description IDocumentTextEditProcessor. getDocument()Returns the document to be manipulated.Methods in org.eclipse.text.edits with parameters of type IDocument Modifier and Type Method Description UndoEditTextEdit. apply(IDocument document)Applies the edit tree rooted by this edit to the given document.UndoEditTextEdit. apply(IDocument document, int style)Applies the edit tree rooted by this edit to the given document.Constructors in org.eclipse.text.edits with parameters of type IDocument Constructor Description TextEditProcessor(IDocument document, TextEdit root, int style)Constructs a new edit processor for the given document. -
Uses of IDocument in org.eclipse.text.undo
Methods in org.eclipse.text.undo that return IDocument Modifier and Type Method Description IDocumentDocumentUndoEvent. getDocument()Returns the changed document.Methods in org.eclipse.text.undo with parameters of type IDocument Modifier and Type Method Description static voidDocumentUndoManagerRegistry. connect(IDocument document)Connects the file at the given location to this manager.static voidDocumentUndoManagerRegistry. disconnect(IDocument document)Disconnects the given document from this registry.static IDocumentUndoManagerDocumentUndoManagerRegistry. getDocumentUndoManager(IDocument document)Returns the file buffer managed for the given location ornullif there is no such file buffer.Constructors in org.eclipse.text.undo with parameters of type IDocument Constructor Description DocumentUndoManager(IDocument document)Create a DocumentUndoManager for the given document. -
Uses of IDocument in org.eclipse.ui.console
Methods in org.eclipse.ui.console that return IDocument Modifier and Type Method Description IDocumentTextConsole. getDocument()Returns this console's document. -
Uses of IDocument in org.eclipse.ui.editors.text
Methods in org.eclipse.ui.editors.text that return IDocument Modifier and Type Method Description protected IDocumentStorageDocumentProvider. createDocument(Object element)protected IDocumentStorageDocumentProvider. createEmptyDocument()Factory method for creating empty documents.IDocumentForwardingDocumentProvider. getDocument(Object element)IDocumentTextFileDocumentProvider. getDocument(Object element)IDocumentTextFileDocumentProvider.NullProvider. getDocument(Object element)Deprecated.Methods in org.eclipse.ui.editors.text with parameters of type IDocument Modifier and Type Method Description protected voidTextFileDocumentProvider. createFileFromDocument(IProgressMonitor monitor, IFile file, IDocument document)Creates the given file with the given document content.protected TextFileDocumentProvider.DocumentProviderOperationTextFileDocumentProvider. createSaveOperation(Object element, IDocument document, boolean overwrite)protected voidFileDocumentProvider. doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)protected voidStorageDocumentProvider. doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)voidForwardingDocumentProvider. saveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)voidTextFileDocumentProvider.NullProvider. saveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)Deprecated.voidTextFileDocumentProvider. saveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)protected booleanFileDocumentProvider. setDocumentContent(IDocument document, IEditorInput editorInput)Deprecated.use file encoding based versionprotected booleanFileDocumentProvider. setDocumentContent(IDocument document, IEditorInput editorInput, String encoding)protected voidStorageDocumentProvider. setDocumentContent(IDocument document, InputStream contentStream)Deprecated.use encoding based version insteadprotected voidStorageDocumentProvider. setDocumentContent(IDocument document, InputStream contentStream, String encoding)Initializes the given document with the given stream using the given encoding.protected booleanStorageDocumentProvider. setDocumentContent(IDocument document, IEditorInput editorInput)Deprecated.use the encoding based version insteadprotected booleanStorageDocumentProvider. setDocumentContent(IDocument document, IEditorInput editorInput, String encoding)Initializes the given document from the given editor input using the given character encoding.protected voidStorageDocumentProvider. setupDocument(Object element, IDocument document)Sets up the given document as it would be provided for the given element.Constructors in org.eclipse.ui.editors.text with parameters of type IDocument Constructor Description FileInfo(IDocument document, IAnnotationModel model, FileDocumentProvider.FileSynchronizer fileSynchronizer)Creates and returns a new file info.StorageInfo(IDocument document, IAnnotationModel model)Creates a new storage info. -
Uses of IDocument in org.eclipse.ui.texteditor
Fields in org.eclipse.ui.texteditor declared as IDocument Modifier and Type Field Description IDocumentAbstractDocumentProvider.ElementInfo. fDocumentThe element's documentMethods in org.eclipse.ui.texteditor that return IDocument Modifier and Type Method Description protected abstract IDocumentAbstractDocumentProvider. createDocument(Object element)Creates the document for the given element.IDocumentAbstractDocumentProvider. getDocument(Object element)IDocumentIDocumentProvider. getDocument(Object element)Returns the document for the given element.protected IDocumentMarkerRulerAction. getDocument()Returns theIDocumentof the editor's input.protected IDocumentSelectMarkerRulerAction. getDocument()Returns theIDocumentof the editor's input.Methods in org.eclipse.ui.texteditor with parameters of type IDocument Modifier and Type Method Description voidAbstractMarkerAnnotationModel. commit(IDocument document)voidTextViewerDeleteLineTarget. deleteLine(IDocument document, int offset, int length, int type, boolean copyToClipboard)voidTextViewerDeleteLineTarget. deleteLine(IDocument document, ITextSelection selection, int type, boolean copyToClipboard)Deletes the lines that intersect with the givenselection.protected abstract voidAbstractDocumentProvider. doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)Performs the actual work of saving the given document provided for the given element.protected StringAddMarkerAction. getLabelProposal(IDocument document, int offset, int length)Returns the initial label for the marker.protected StringMarkerRulerAction. getLabelProposal(IDocument document, int offset, int length)Returns the initial label for the marker.protected intAbstractTextEditor.LineEndAction. getLineEndPosition(IDocument document, String line, int length, int offset)Computes the offset of the line end position.protected intAbstractTextEditor.LineStartAction. getLineStartPosition(IDocument document, String line, int length, int offset)Computes the offset of the line start position.protected booleanMarkerRulerAction. includesRulerLine(Position position, IDocument document)Checks whether a position includes the ruler's line of activity.protected booleanSelectMarkerRulerAction. includesRulerLine(Position position, IDocument document)Checks whether a position includes the ruler's line of activity.voidAbstractMarkerAnnotationModel. reinitialize(IDocument document)voidAbstractMarkerAnnotationModel. revert(IDocument document)voidAbstractDocumentProvider. saveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)voidIDocumentProvider. saveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite)Saves the given document provided for the given element.booleanAbstractMarkerAnnotationModel. updateMarker(IMarker marker, IDocument document, Position position)Deprecated.useupdateMarker(IDocument, IMarker, Position)instead.booleanAbstractMarkerAnnotationModel. updateMarker(IDocument document, IMarker marker, Position position)Updates the given marker according to the given position in the given document.booleanBasicMarkerUpdater. updateMarker(IMarker marker, IDocument document, Position position)booleanIMarkerUpdater. updateMarker(IMarker marker, IDocument document, Position position)Updates the given marker according to the position of the given document.voidAbstractMarkerAnnotationModel. updateMarkers(IDocument document)Updates the markers managed by this annotation model by calling all registered marker updaters (IMarkerUpdater).Constructors in org.eclipse.ui.texteditor with parameters of type IDocument Constructor Description ElementInfo(IDocument document, IAnnotationModel model)Creates a new element info, initialized with the given document and annotation model. -
Uses of IDocument in org.eclipse.ui.texteditor.quickdiff
Methods in org.eclipse.ui.texteditor.quickdiff that return IDocument Modifier and Type Method Description IDocumentIQuickDiffReferenceProvider. getReference(IProgressMonitor monitor)Returns the reference document for the quick diff display. -
Uses of IDocument in org.eclipse.ui.texteditor.spelling
Methods in org.eclipse.ui.texteditor.spelling that return IDocument Modifier and Type Method Description protected IDocumentSpellingReconcileStrategy. getDocument()Returns the document which is spell checked.Methods in org.eclipse.ui.texteditor.spelling with parameters of type IDocument Modifier and Type Method Description voidISpellingEngine. check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor)Checks the given regions in the given document.voidSpellingService. check(IDocument document, IRegion[] regions, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor)Checks the given regions in the given document.voidSpellingService. check(IDocument document, SpellingContext context, ISpellingProblemCollector collector, IProgressMonitor monitor)Checks the given document.voidSpellingReconcileStrategy. setDocument(IDocument document) -
Uses of IDocument in org.eclipse.ui.texteditor.templates
Methods in org.eclipse.ui.texteditor.templates with parameters of type IDocument Modifier and Type Method Description protected abstract String[]AbstractTemplatesPage. getContextTypeIds(IDocument document, int offset)Returns the context type ids supported at the given document offset.protected abstract voidAbstractTemplatesPage. insertTemplate(Template template, IDocument document)Inserts the given template into the editor.protected abstract booleanAbstractTemplatesPage. isValidTemplate(IDocument document, Template template, int offset, int length)Checks whether the given template is valid for the document at the given offset and length.
-