|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.xmlEditor.XMLEditor sk.uniba.euromath.editor.textEditor.TextEditor
public class TextEditor
Field Summary | |
---|---|
protected CaretManager |
caretManager
Manager that cares about Caret |
Constructor Summary | |
---|---|
TextEditor()
Constructor |
Method Summary | |
---|---|
protected void |
configureGraphicalViewer()
Configures viewer for work. |
protected IActionContributor |
createActionContributor()
Creates action contributor. |
protected org.eclipse.gef.EditDomain |
createEditDomain()
Overrides XMLEditor#createEditDomain() just to set TextStructureTool as default and active tool instead of XMLStructureTool |
protected TextEditPartFactory |
createEditPartFactory()
Creates XMLEditPartFactory. |
void |
createGraphicalViewer(Composite parent)
Creates GraphicalViewer on parent Composite for transformed doc source. |
Object |
getAdapter(Class adapter)
|
Clipboard |
getClipboard()
Returns system clipboard reference. |
void |
reinit(Source transformedDoc,
IChangeCollector changes)
Reinitialize the editor when a partial change of the transformed document occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CaretManager caretManager
Constructor Detail |
---|
public TextEditor()
Method Detail |
---|
public void createGraphicalViewer(Composite parent)
XMLEditor
createGraphicalViewer
in class XMLEditor
protected org.eclipse.gef.EditDomain createEditDomain()
createEditDomain
in class XMLEditor
protected TextEditPartFactory createEditPartFactory()
XMLEditor
createEditPartFactory
in class XMLEditor
protected IActionContributor createActionContributor()
XMLEditor
createActionContributor
in class XMLEditor
protected void configureGraphicalViewer()
XMLEditor
configureGraphicalViewer
in class XMLEditor
public void reinit(Source transformedDoc, IChangeCollector changes)
IEditor
Reinitialize the editor when a partial change of the transformed document occurs. The reinitialization of renderer is already finished - editor should query for new figures for each changed element.
reinit
in interface IEditor
reinit
in class XMLEditor
transformedDoc
- source with all changes already applied.changes
- defines changed elements. Has appropriate type for
transformedDoc
parameter, i.e. DOMChangeCollector
for DOMSource
etc.public Clipboard getClipboard()
IClipboardProvider
getClipboard
in interface IClipboardProvider
public Object getAdapter(Class adapter)
getAdapter
in interface IAdaptable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |