org.eclipse.jface.text

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » text » org.eclipse.jface.text 
org.eclipse.jface.text
text infrastructure

Provides a framework for creating and manipulating text documents.

Package Specification

IDocument is the major text model abstraction. It provides content management, position management using position categories, document partition management, and change notification. In order to be notified about document changes, an object must implements IDocumentListener and must be registered with the document. Position updating in responds to a document change is performed by implementers of IDocumentPositionUpdater. Partition updating in responds to a document change is performed by implements of IDocumentPartitioner. In order to be notified about document partition changes, objects must implement IDocumentParititoningListener and must be registered with the document.

The package contains default implementations for document position updaters and for documents. AbstractDocument uses ITextStorage for storing and managing its content and ILineTracker to maintain a line structure of its content. As defaults a gap text implementation of ITextStore is provided, together with a line tracker understanding the three standard line delimiters ("\r", "\n", "\r\n") and a line tracker which can be freely configured to consider any given set of strings as valid line delimiters.

Java Source File NameTypeComment
AbstractDocument.javaClass Abstract default implementation of IDocument and its extension interfaces org.eclipse.jface.text.IDocumentExtension , org.eclipse.jface.text.IDocumentExtension2 , org.eclipse.jface.text.IDocumentExtension3 , org.eclipse.jface.text.IDocumentExtension4 , as well as org.eclipse.jface.text.IRepairableDocument .

An AbstractDocument supports the following implementation plug-ins:

The document can dynamically change the text store when switching between sequential rewrite mode and normal mode.

This class must be subclassed.

AbstractLineTracker.javaClass Abstract implementation of ILineTracker.
Assert.javaClass Assert is useful for for embedding runtime sanity checks in code.
BadLocationException.javaClass Indicates the attempt to access a non-existing position.
BadPartitioningException.javaClass Represents the attempt to refer to a non-existing document partitioning.
BadPositionCategoryException.javaClass Indicates the attempt to access a non-existing position category in a document.
ConfigurableLineTracker.javaClass Standard implementation of a generic org.eclipse.jface.text.ILineTracker .

The line tracker can be configured with the set of legal line delimiters. Line delimiters are unconstrained.

CopyOnWriteTextStore.javaClass Copy-on-write ITextStore wrapper.
DefaultLineTracker.javaClass Standard implementation of org.eclipse.jface.text.ILineTracker .
DefaultPositionUpdater.javaClass Default implementation of org.eclipse.jface.text.IPositionUpdater .

A default position updater must be configured with the position category whose positions it will update.

Document.javaClass Default document implementation.
DocumentEvent.javaClass Specification of changes applied to documents.
DocumentPartitioningChangedEvent.javaClass Event describing the change of document partitionings.
DocumentRewriteSession.javaClass A document rewrite session.
DocumentRewriteSessionEvent.javaClass Description of the state of document rewrite sessions.
DocumentRewriteSessionType.javaClass A document rewrite session type.
FindReplaceDocumentAdapter.javaClass Provides search and replace operations on org.eclipse.jface.text.IDocument .
GapTextStore.javaClass Implements a gap managing text store.
IDocument.javaInterface An IDocument represents text providing support for
  • text manipulation
  • positions
  • partitions
  • line information
  • document change listeners
  • document partition change listeners
A document allows to set its content and to manipulate it.
IDocumentExtension.javaInterface Extension interface for org.eclipse.jface.text.IDocument .

It introduces the notion of sequentially rewriting a document.

IDocumentExtension2.javaInterface Extension interface for org.eclipse.jface.text.IDocument .

It adds configuration methods to post notification replaces and document listener notification.

IDocumentExtension3.javaInterface Extension interface for org.eclipse.jface.text.IDocument .

Adds the concept of multiple partitionings and the concept of zero-length partitions in conjunction with open and delimited partitions.

IDocumentExtension4.javaInterface Extension interface for org.eclipse.jface.text.IDocument .
IDocumentInformationMapping.javaInterface A IDocumentInformationMapping represents a mapping between the coordinates of two IDocument objects: the original and the image.
IDocumentInformationMappingExtension.javaInterface Extension to org.eclipse.jface.text.IDocumentInformationMapping .
IDocumentInformationMappingExtension2.javaInterface Extension to org.eclipse.jface.text.IDocumentInformationMapping .
IDocumentListener.javaInterface Interface for objects which are interested in getting informed about document changes.
IDocumentPartitioner.javaInterface A document partitioner divides a document into a set of disjoint text partitions.
IDocumentPartitionerExtension.javaInterface Extension interface for org.eclipse.jface.text.IDocumentPartitioner .
IDocumentPartitionerExtension2.javaInterface Extension interface for org.eclipse.jface.text.IDocumentPartitioner .

Extends the original concept of a document partitioner to answer the position categories that are used to manage the partitioning information.

This extension also introduces the concept of open and delimited partitions. A delimited partition has a predefined textual token delimiting its start and end, while an open partition can fill any space between two delimited partitions.

An open partition of length zero can occur between two delimited partitions, thus having the same offset as the following delimited partition.

IDocumentPartitionerExtension3.javaInterface Extension interface for org.eclipse.jface.text.IDocumentPartitioner .
IDocumentPartitioningListener.javaInterface Interface of objects which are interested in getting informed about changes of a document's partitioning.

Clients may implement this interface.

In order to provided backward compatibility for clients of IDocumentPartitioningListener, extension interfaces are used to provide a means of evolution.

IDocumentPartitioningListenerExtension.javaInterface Extension interface for org.eclipse.jface.text.IDocumentPartitioningListener .
IDocumentPartitioningListenerExtension2.javaInterface Extension interface to org.eclipse.jface.text.IDocumentPartitioningListener .
IDocumentRewriteSessionListener.javaInterface Interface for objects which are interested in getting informed about document rewrite sessions.
ILineTracker.javaInterface A line tracker maps character positions to line numbers and vice versa. Initially the line tracker is informed about its underlying text in order to initialize the mapping information.
ILineTrackerExtension.javaInterface Extension interface for org.eclipse.jface.text.ILineTracker .
IPositionUpdater.javaInterface A position updater is responsible for adapting document positions.
IRegion.javaInterface A region describes a certain range in an indexed text store.
IRepairableDocument.javaInterface Tagging interface to be implemented by org.eclipse.jface.text.IDocument implementers that offer a line repair method on the documents.
ISlaveDocumentManager.javaInterface Slave documents are documents whose contents is defined in terms of a master document.
ISlaveDocumentManagerExtension.javaInterface Extension interface for org.eclipse.jface.text.ISlaveDocumentManager .
ISynchronizable.javaInterface Interface for text related objects which may be used in the multi-threaded context and thus must provide a way to prevent concurrent access and manipulation.
ITextStore.javaInterface Interface for storing and managing text.
ITypedRegion.javaInterface Describes a region of an indexed text store such as a document or a string. The region consists of offset, length, and type.
Line.javaClass Describes a line as a particular number of characters beginning at a particular offset, consisting of a particular number of characters, and being closed with a particular line delimiter.
ListLineTracker.javaClass Abstract, read-only implementation of ILineTracker.
Position.javaClass Positions describe text ranges of a document.
Region.javaClass The default implementation of the org.eclipse.jface.text.IRegion interface.
RewriteSessionEditProcessor.javaClass A text edit processor that brackets the application of edits into a document rewrite session.
SequentialRewriteTextStore.javaClass A text store that optimizes a given source text store for sequential rewriting. While rewritten it keeps a list of replace command that serve as patches for the source store.
SlaveDocumentEvent.javaClass A slave document event represents a master document event as a slave-relative document event.
TextMessages.javaClass Helper class to get NLSed messages.
TextUtilities.javaClass A collection of text functions.
TreeLineTracker.javaClass Abstract implementation of ILineTracker.
TypedPosition.javaClass Convenience class for positions that have a type, similar to org.eclipse.jface.text.ITypedRegion .
TypedRegion.javaClass Default implementation of org.eclipse.jface.text.ITypedRegion .
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.