Package sk.uniba.euromath.editor.textEditor

Text Editor

See:
          Description

Interface Summary
ICaretPositioner Positions caret if has caret.
ICaretProvider CaretProvider provides a single instance of caret.
IClipboardProvider Provides system clipboard instance.
ITextLocator Locates text into (segment of) one text line.
ITextPieceContainer Container for ITextPieceKeepers.
ITextPieceInfo Interface to properties of text piece.
ITextPieceKeeper Keeps piece of text of textual node.
ITextPieceSelectionStatus TextPiece can have many small not overlapping selections within.
 

Class Summary
CaretManager Each TextEditor can have its own CaretManager.
Interval Range of this interval is positive (not zero)
TextEditor  
TextEditPartFactory  
TextPieceContainer Container for ITextPieceKeepers.
TextPieceInfoImpl Info about text piece from textual node identified by nodeID.
TextPieceSelectionStatusImpl Selection status for text piece.
 

Package sk.uniba.euromath.editor.textEditor Description

Text Editor

Text editor is common editor for XMLs rendered into text (not only). Implements complete model of features: graphical localization of text, direct editing of text, selections, caret and clipboard.

Implemented is by extending functionality of XMLEditor. Text editor is fully functional, but shoudn't be directly used, is "abstract". Is supposed to be extended and registered specially for some namespaces.

Selections are able to select subset of nodes from source xml or even to select only parts of textual nodes. Selection can contain both at same time. Selection of node is stored as id of that node and selection of only part of textual node(selection of text) is stored as "id of that node <offset,length>". Offset and length specify where starts selected text and how is long.

Mainteners Tomáš Studva, Martin Kollár



Copyright © 2003-2006 null. All Rights Reserved.