Package com._1c.g5.ides.ui.refactoring
Interface IRefactoringController
-
public interface IRefactoringController
Refactoring controller is used to get appropriate refactoring processor and trigger refactoring according to specified refactoring type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
initialize(IRefactoringElementContext refactoringElementContext, IRefactoringStrategy refactoringStrategy)
Initialize refactoring controller with refactoring contextvoid
startRefactoring(RefactoringType refactoringType)
Starts refactoring according to its type
-
-
-
Method Detail
-
initialize
boolean initialize(IRefactoringElementContext refactoringElementContext, IRefactoringStrategy refactoringStrategy)
Initialize refactoring controller with refactoring context- Parameters:
refactoringElementContext
- refactoring context (notnull
)strategy
- appropriate refactoring strategy (notnull
)- Returns:
- true if refactoring initialized correctly, false otherwise
-
startRefactoring
void startRefactoring(RefactoringType refactoringType)
Starts refactoring according to its type- Parameters:
refactoringType
- type of refactoring
-
-