public interface RefactoringEventListener
Modifier and Type | Field and Description |
---|---|
static Topic<RefactoringEventListener> |
REFACTORING_EVENT_TOPIC
Entry point to attach a client listener.
|
Modifier and Type | Method and Description |
---|---|
void |
conflictsDetected(java.lang.String refactoringId,
RefactoringEventData conflictsData)
Is fired when conflicts are detected.
|
void |
refactoringDone(java.lang.String refactoringId,
RefactoringEventData afterData)
Is fired when refactoring is completed, probably with conflicts.
|
void |
refactoringStarted(java.lang.String refactoringId,
RefactoringEventData beforeData)
Is fired when refactoring enters its write phase (find usages, conflict detection phases are passed already)
|
void |
undoRefactoring(java.lang.String refactoringId)
Is fired when undoable action created on refactoring execution is undone.
|
static final Topic<RefactoringEventListener> REFACTORING_EVENT_TOPIC
project.getMessageBus().connect(Disposable).subscribe(RefactoringEventListener.REFACTORING_EVENT_TOPIC, new Listener())
void refactoringStarted(java.lang.String refactoringId, RefactoringEventData beforeData)
void refactoringDone(java.lang.String refactoringId, RefactoringEventData afterData)
void conflictsDetected(java.lang.String refactoringId, RefactoringEventData conflictsData)
conflictsData
- should contain string representation of the conflictsvoid undoRefactoring(java.lang.String refactoringId)