Interface IRefactoringStrategyProvider


  • public interface IRefactoringStrategyProvider
    Provides IRefactoringStrategy for given model object.

    If provider for some reasons cannot provide appropriate strategy provider that means that refactoring cannot be done.

    • Method Detail

      • get

        IRefactoringStrategy get​(org.eclipse.emf.ecore.EObject targetEObject,
                                 IRefactoringElementContext refactoringElementContext)
        Returns refactoring strategy for target model object and initialized the strategy with refactoring context.
        Parameters:
        targetEObject - model object (not null)
        refactoringElementContext - refactoring context (not null)
        Returns:
        refactoring strategy or null, if there is no defined strategy for object and refactoring context