Skip to content

Commit 696393e

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of bundles/org.eclipse.ltk.ui.refactoring
1 parent d696b33 commit 696393e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/RedoRefactoringAction.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,17 @@ public class RedoRefactoringAction extends UndoManagerAction {
6060
/**
6161
* Creates a new redo refactoring action.
6262
*/
63+
@Deprecated
6364
public RedoRefactoringAction() {
6465
}
6566

67+
@Deprecated
6668
@Override
6769
protected String getName() {
6870
return RefactoringUIMessages.RedoRefactoringAction_name;
6971
}
7072

73+
@Deprecated
7174
@Override
7275
protected IRunnableWithProgress createOperation(Shell parent) {
7376
final IValidationCheckResultQuery query= new Query(parent, RefactoringUIMessages.RedoRefactoringAction_error_title) {
@@ -87,6 +90,7 @@ protected String getFullMessage(String errorMessage) {
8790
};
8891
}
8992

93+
@Deprecated
9094
@Override
9195
protected UndoManagerAdapter createUndoManagerListener() {
9296
return new UndoManagerAdapter() {
@@ -110,6 +114,7 @@ public void redoStackChanged(IUndoManager manager) {
110114
};
111115
}
112116

117+
@Deprecated
113118
@Override
114119
public void selectionChanged(IAction action, ISelection s) {
115120
if (!isHooked()) {

bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/ui/refactoring/UndoRefactoringAction.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,18 @@ public class UndoRefactoringAction extends UndoManagerAction {
6060
/**
6161
* Creates a new undo refactoring action.
6262
*/
63+
@Deprecated
6364
public UndoRefactoringAction() {
6465
}
6566

67+
@Deprecated
6668
@Override
6769
protected String getName() {
6870
// PR: 1GEWDUH: ITPJCORE:WINNT - Refactoring - Unable to undo refactoring change
6971
return RefactoringUIMessages.UndoRefactoringAction_name;
7072
}
7173

74+
@Deprecated
7275
@Override
7376
protected IRunnableWithProgress createOperation(Shell parent) {
7477
final IValidationCheckResultQuery query= new Query(parent, RefactoringUIMessages.UndoRefactoringAction_error_title) {
@@ -88,6 +91,7 @@ protected String getFullMessage(String errorMessage) {
8891
};
8992
}
9093

94+
@Deprecated
9195
@Override
9296
protected UndoManagerAdapter createUndoManagerListener() {
9397
return new UndoManagerAdapter() {
@@ -111,6 +115,7 @@ public void undoStackChanged(IUndoManager manager) {
111115
};
112116
}
113117

118+
@Deprecated
114119
@Override
115120
public void selectionChanged(IAction action, ISelection s) {
116121
if (!isHooked()) {

0 commit comments

Comments
 (0)