view dwtx/jface/text/package.html @ 129:eb30df5ca28b

Added JFace Text sources
author Frank Benoit <benoit@tionex.de>
date Sat, 23 Aug 2008 19:10:48 +0200
parents
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html><head>
  <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
  <meta content="IBM" name="Author">
  <meta content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]" name="GENERATOR"><title>text infrastructure</title></head>

<body>
<p>Provides a framework for creating and manipulating text documents.</p>
<h3>Package Specification</h3>
<p><tt>IDocument</tt> 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 <tt>IDocumentListener 
  </tt>and must be registered with the document. <tt>Position</tt> 
  updating in responds to a document change is performed by implementers of <tt>IDocumentPositionUpdater</tt>. 
  Partition updating in responds to a document change is performed by implements 
  of <tt>IDocumentPartitioner</tt>. In order 
  to be notified about document partition changes, objects must implement <tt>IDocumentParititoningListener</tt> 
  and must be registered with the document.</p>
<p>The package contains default implementations for document position updaters 
  and for documents. <tt>AbstractDocument</tt> 
  uses <tt>ITextStorage</tt> for storing 
  and managing its content and <tt>ILineTracker</tt> 
  to maintain a line structure of its content. As defaults a gap text implementation 
  of <tt>ITextStore</tt> is provided, together 
  with a line tracker understanding the three standard line delimiters (&quot;\r&quot;, 
  &quot;\n&quot;, &quot;\r\n&quot;) and a line tracker which can be freely configured 
  to consider any given set of strings as valid line delimiters. </p>
<p></p>
</body></html>