Interface IUpdatableEditor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void buildModel​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc)
      Creates the model in the given xText document doc.
      org.eclipse.core.resources.IResource getResource()
      Returns the resource of this editor.
      void updateEditor()
      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 document doc. This method synchronizes over doc in order to avoid reentrant model validation.
        Parameters:
        doc - the document to create the model for