Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,17 @@ public class RedoRefactoringAction extends UndoManagerAction {
/**
* Creates a new redo refactoring action.
*/
@Deprecated
public RedoRefactoringAction() {
}

@Deprecated
@Override
protected String getName() {
return RefactoringUIMessages.RedoRefactoringAction_name;
}

@Deprecated
@Override
protected IRunnableWithProgress createOperation(Shell parent) {
final IValidationCheckResultQuery query= new Query(parent, RefactoringUIMessages.RedoRefactoringAction_error_title) {
Expand All @@ -87,6 +90,7 @@ protected String getFullMessage(String errorMessage) {
};
}

@Deprecated
@Override
protected UndoManagerAdapter createUndoManagerListener() {
return new UndoManagerAdapter() {
Expand All @@ -110,6 +114,7 @@ public void redoStackChanged(IUndoManager manager) {
};
}

@Deprecated
@Override
public void selectionChanged(IAction action, ISelection s) {
if (!isHooked()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,18 @@ public class UndoRefactoringAction extends UndoManagerAction {
/**
* Creates a new undo refactoring action.
*/
@Deprecated
public UndoRefactoringAction() {
}

@Deprecated
@Override
protected String getName() {
// PR: 1GEWDUH: ITPJCORE:WINNT - Refactoring - Unable to undo refactoring change
return RefactoringUIMessages.UndoRefactoringAction_name;
}

@Deprecated
@Override
protected IRunnableWithProgress createOperation(Shell parent) {
final IValidationCheckResultQuery query= new Query(parent, RefactoringUIMessages.UndoRefactoringAction_error_title) {
Expand All @@ -88,6 +91,7 @@ protected String getFullMessage(String errorMessage) {
};
}

@Deprecated
@Override
protected UndoManagerAdapter createUndoManagerListener() {
return new UndoManagerAdapter() {
Expand All @@ -111,6 +115,7 @@ public void undoStackChanged(IUndoManager manager) {
};
}

@Deprecated
@Override
public void selectionChanged(IAction action, ISelection s) {
if (!isHooked()) {
Expand Down
Loading