|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.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 XMLEditorprotected org.eclipse.gef.EditDomain createEditDomain()
createEditDomain in class XMLEditorprotected TextEditPartFactory createEditPartFactory()
XMLEditor
createEditPartFactory in class XMLEditorprotected IActionContributor createActionContributor()
XMLEditor
createActionContributor in class XMLEditorprotected void configureGraphicalViewer()
XMLEditor
configureGraphicalViewer in class XMLEditor
public void reinit(Source transformedDoc,
IChangeCollector changes)
IEditorReinitialize 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 IEditorreinit in class XMLEditortransformedDoc - 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 IClipboardProviderpublic Object getAdapter(Class adapter)
getAdapter in interface IAdaptable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||