Uses of Class
org.eclipse.jface.text.DocumentEvent
Packages that use DocumentEvent
Package
Description
Provides a framework for creating and manipulating text documents.
Provides a content assist add-on for an
ITextViewer.Provides support for detecting and displaying hyperlinks in
ISourceViewers.Application programming interfaces for interaction
with the Eclipse text editor's linked position support.
Provides a presentation reconciler add-on for an
ITextViewer.This package provides an implementation of projection documents.
Provides a framework for rule based text scanning
and uses the framework to provide rule-driven default implementations of
IPresentationDamager, IPresentationRepairer and IDocumentPartitioner.This package provides the UI part for projection documents of which the most important part is the projection viewer.
Application programming interfaces for interaction
with the Eclipse text template support.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of DocumentEvent in org.eclipse.jface.text
Subclasses of DocumentEvent in org.eclipse.jface.textModifier and TypeClassDescriptionclassA slave document event represents a master document event as a slave-relative document event.Fields in org.eclipse.jface.text declared as DocumentEventModifier and TypeFieldDescriptionTextViewer.WidgetCommand.eventThe document event encapsulated by this command.Methods in org.eclipse.jface.text that return DocumentEventModifier and TypeMethodDescriptionTextEvent.getDocumentEvent()Returns the corresponding document event that caused the viewer changeSlaveDocumentEvent.getMasterEvent()Returns this event's master event.static DocumentEventTextUtilities.mergeProcessedDocumentEvents(List<? extends DocumentEvent> documentEvents) Returns a document event which is an accumulation of a list of document events,nullif the list of document events is empty.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.Methods in org.eclipse.jface.text with parameters of type DocumentEventModifier and TypeMethodDescriptionvoidIDocumentListener.documentAboutToBeChanged(DocumentEvent event) The manipulation described by the document event will be performed.voidIDocumentPartitioner.documentAboutToBeChanged(DocumentEvent event) Informs about a forthcoming document change.voidIDocumentListener.documentChanged(DocumentEvent event) The manipulation described by the document event has been performed.booleanIDocumentPartitioner.documentChanged(DocumentEvent event) The document has been changed.IDocumentPartitionerExtension.documentChanged2(DocumentEvent event) The document has been changed.protected voidAbstractDocument.doFireDocumentChanged(DocumentEvent event) Notifies all listeners about the given document change.protected voidAbstractDocument.doFireDocumentChanged(DocumentEvent event, boolean firePartitionChange, IRegion partitionChange) Deprecated.as of 3.0.protected voidAbstractDocument.doFireDocumentChanged2(DocumentEvent event) Notifies all listeners about the given document change.protected voidAbstractDocument.fireDocumentAboutToBeChanged(DocumentEvent event) Fires the given document event to all registers document listeners informing them about the forthcoming document manipulation.protected voidAbstractDocument.fireDocumentChanged(DocumentEvent event) Updates the internal document structures and informs all document listeners if listener notification has been enabled.protected voidTextViewer.handleVisibleDocumentAboutToBeChanged(DocumentEvent event) Hook method called when the visible document is about to be changed.protected voidTextViewer.handleVisibleDocumentChanged(DocumentEvent event) Hook method called when the visible document has been changed.booleanIEditingSupport.isOriginator(DocumentEvent event, IRegion subjectRegion) Returnstrueif the receiver is the originator of aDocumentEventand if thateventis related tosubjectRegion.voidTextViewer.WidgetCommand.setEvent(DocumentEvent e) Translates a document event into the presentation coordinates of this text viewer.voidDefaultPositionUpdater.update(DocumentEvent event) voidIPositionUpdater.update(DocumentEvent event) Adapts positions to the change specified by the document event.protected voidAbstractDocument.updateDocumentStructures(DocumentEvent event) Updates document partitioning and document positions according to the specification given by the document event.protected voidAbstractDocument.updatePositions(DocumentEvent event) Updates all positions of all categories to the change described by the document event.Method parameters in org.eclipse.jface.text with type arguments of type DocumentEventModifier and TypeMethodDescriptionstatic DocumentEventTextUtilities.mergeProcessedDocumentEvents(List<? extends DocumentEvent> documentEvents) Returns a document event which is an accumulation of a list of document events,nullif the list of document events is empty.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.Constructors in org.eclipse.jface.text with parameters of type DocumentEventModifierConstructorDescriptionSlaveDocumentEvent(IDocument doc, int offset, int length, String text, DocumentEvent masterEvent) Creates a new slave document event.protectedTextEvent(int offset, int length, String text, String replacedText, DocumentEvent event, boolean viewerRedrawState) Creates a newTextEventbased on the specification. -
Uses of DocumentEvent in org.eclipse.jface.text.contentassist
Methods in org.eclipse.jface.text.contentassist with parameters of type DocumentEventModifier and TypeMethodDescriptionbooleanICompletionProposalExtension2.validate(IDocument document, int offset, DocumentEvent event) Requests the proposal to be validated with respect to the document event. -
Uses of DocumentEvent in org.eclipse.jface.text.hyperlink
Methods in org.eclipse.jface.text.hyperlink with parameters of type DocumentEventModifier and TypeMethodDescriptionvoidDefaultHyperlinkPresenter.documentAboutToBeChanged(DocumentEvent event) voidDefaultHyperlinkPresenter.documentChanged(DocumentEvent event) -
Uses of DocumentEvent in org.eclipse.jface.text.link
Methods in org.eclipse.jface.text.link with parameters of type DocumentEventModifier and TypeMethodDescriptiondefault LinkedModeUI.ExitFlagsLinkedModeUI.IExitPolicy.doExit(LinkedModeModel model, DocumentEvent event) Checks whether the linked mode should be left after receiving the givenDocumentEvent, especially allowing to control Copy-Paste operations.booleanLinkedPosition.includes(DocumentEvent event) Returns whether this position includesevent.voidInclusivePositionUpdater.update(DocumentEvent event) -
Uses of DocumentEvent in org.eclipse.jface.text.presentation
Methods in org.eclipse.jface.text.presentation with parameters of type DocumentEventModifier and TypeMethodDescriptionIPresentationDamager.getDamageRegion(ITypedRegion partition, DocumentEvent event, boolean documentPartitioningChanged) Returns the damage in the document's presentation caused by the given document change. -
Uses of DocumentEvent in org.eclipse.jface.text.projection
Subclasses of DocumentEvent in org.eclipse.jface.text.projectionModifier and TypeClassDescriptionclassThis event is sent out by anProjectionDocumentwhen it is manipulated.Methods in org.eclipse.jface.text.projection with parameters of type DocumentEventModifier and TypeMethodDescriptionprotected final booleanProjectionDocument.adaptProjectionToMasterChange(DocumentEvent masterEvent) Ensures that when the master event affects this projection document, that the whole region described by the event is part of this projection document.voidProjectionDocumentManager.documentAboutToBeChanged(DocumentEvent event) voidProjectionDocumentManager.documentChanged(DocumentEvent event) protected voidProjectionDocument.fireDocumentAboutToBeChanged(DocumentEvent event) protected voidProjectionDocument.fireDocumentChanged(DocumentEvent event) Ignores the given event and sends the semantically equal slave document event instead.protected voidProjectionDocumentManager.fireDocumentEvent(boolean about, DocumentEvent masterEvent) Informs all projection documents of the master document that issued the given document event.voidProjectionDocument.masterDocumentAboutToBeChanged(DocumentEvent masterEvent) When called, this projection document is informed about a forthcoming change of its master document.voidProjectionDocument.masterDocumentChanged(DocumentEvent masterEvent) When called, this projection document is informed about a change of its master document.protected voidProjectionDocument.updateDocumentStructures(DocumentEvent event) Constructors in org.eclipse.jface.text.projection with parameters of type DocumentEventModifierConstructorDescriptionProjectionDocumentEvent(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. -
Uses of DocumentEvent in org.eclipse.jface.text.rules
Methods in org.eclipse.jface.text.rules with parameters of type DocumentEventModifier and TypeMethodDescriptionvoidDefaultPartitioner.documentAboutToBeChanged(DocumentEvent e) Deprecated, for removal: This API element is subject to removal in a future version.voidFastPartitioner.documentAboutToBeChanged(DocumentEvent e) Informs about a forthcoming document change.voidRuleBasedPartitioner.documentAboutToBeChanged(DocumentEvent e) Deprecated.booleanDefaultPartitioner.documentChanged(DocumentEvent e) Deprecated, for removal: This API element is subject to removal in a future version.final booleanFastPartitioner.documentChanged(DocumentEvent e) booleanRuleBasedPartitioner.documentChanged(DocumentEvent e) Deprecated.DefaultPartitioner.documentChanged2(DocumentEvent e) Deprecated, for removal: This API element is subject to removal in a future version.FastPartitioner.documentChanged2(DocumentEvent e) The document has been changed.RuleBasedPartitioner.documentChanged2(DocumentEvent e) Deprecated.DefaultDamagerRepairer.getDamageRegion(ITypedRegion partition, DocumentEvent e, boolean documentPartitioningChanged) Returns the damage in the document's presentation caused by the given document change. -
Uses of DocumentEvent in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection with parameters of type DocumentEventModifier and TypeMethodDescriptionprotected voidProjectionViewer.handleVisibleDocumentAboutToBeChanged(DocumentEvent event) protected voidProjectionViewer.handleVisibleDocumentChanged(DocumentEvent event) -
Uses of DocumentEvent in org.eclipse.jface.text.templates
Methods in org.eclipse.jface.text.templates with parameters of type DocumentEventModifier and TypeMethodDescriptionbooleanTemplateProposal.validate(IDocument document, int offset, DocumentEvent event) -
Uses of DocumentEvent in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type DocumentEventModifier and TypeMethodDescriptionvoidAbstractDocumentProvider.ElementInfo.documentAboutToBeChanged(DocumentEvent event) voidAbstractDocumentProvider.ElementInfo.documentChanged(DocumentEvent event)