Class QlCustomRefactoringUpdateAcceptor

    • Constructor Detail

      • QlCustomRefactoringUpdateAcceptor

        public QlCustomRefactoringUpdateAcceptor()
    • Method Detail

      • createChange

        protected org.eclipse.ltk.core.refactoring.Change createChange​(org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument document,
                                                                       org.eclipse.text.edits.TextEdit edit)
        Overrides:
        createChange in class CustomRefactoringUpdateAcceptor
      • getDocument

        public org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument getDocument​(org.eclipse.emf.common.util.URI resourceURI)
        Specified by:
        getDocument in interface org.eclipse.xtext.ui.refactoring.IRefactoringUpdateAcceptor
        Overrides:
        getDocument in class CustomRefactoringUpdateAcceptor
      • setFile

        public void setFile​(org.eclipse.core.resources.IFile file)
        Sets IFile for creating IRefactoringDocument.
        Usually IFile is got from URI in getDocument(URI), but in case of EmbeddedEditor there is no file corresponding to URI.
        Therefore we need set IFile which was got earlier.
        Parameters:
        file - actual IFile for refactoring changes, can't be null