Interface IUpdatableEditor
-
- All Known Implementing Classes:
AbstractXTextEditor,CommonXtextEditor,EmbeddedXtextSourceEditor,XtextEditor,XtextEditor
public interface IUpdatableEditorAn updatable editor.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuildModel(org.eclipse.xtext.ui.editor.model.IXtextDocument doc)Creates the model in the given xText documentdoc.org.eclipse.core.resources.IResourcegetResource()Returns the resource of this editor.voidupdateEditor()Updates this editor.
-
-
-
Method Detail
-
updateEditor
void updateEditor()
Updates this editor.
-
getResource
org.eclipse.core.resources.IResource getResource()
Returns the resource of this editor.- Returns:
- the resource
-
buildModel
void buildModel(org.eclipse.xtext.ui.editor.model.IXtextDocument doc)
Creates the model in the given xText documentdoc. This method synchronizes overdocin order to avoid reentrant model validation.- Parameters:
doc- the document to create the model for
-
-