Class CustomRefactoringDocumentProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument.Provider

    public class CustomRefactoringDocumentProvider
    extends Object
    implements org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument.Provider
    IRefactoringDocument.Provider implementation which provides CustomRefactoringDocumentProvider.SourceFileDocument or delegates work to DefaultRefactoringDocumentProvider, if cannot get ISourceFile by URI.

    Note: IElementForEditorInputFactory is used to adapt IFile to IHandle. The URI-specific implementation of the factory is obtained via IGlobalServiceProvider.

    • Constructor Detail

      • CustomRefactoringDocumentProvider

        public CustomRefactoringDocumentProvider()
    • Method Detail

      • get

        public org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument get​(org.eclipse.emf.common.util.URI uri,
                                                                              org.eclipse.xtext.ui.refactoring.impl.StatusWrapper status)
        Specified by:
        get in interface org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument.Provider