mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removed warnings.
This commit is contained in:
parent
b811a0479b
commit
fa5ac845bb
1 changed files with 5 additions and 5 deletions
|
@ -107,9 +107,9 @@ public class DOMAST extends ViewPart {
|
||||||
private DrillDownAdapter drillDownAdapter;
|
private DrillDownAdapter drillDownAdapter;
|
||||||
private Action action1;
|
private Action action1;
|
||||||
private Action action2;
|
private Action action2;
|
||||||
private Action singleClickAction;
|
Action singleClickAction;
|
||||||
private Action refreshAction;
|
private Action refreshAction;
|
||||||
private IFile file = null;
|
IFile file = null;
|
||||||
private IEditorPart part = null;
|
private IEditorPart part = null;
|
||||||
ParserLanguage lang = null;
|
ParserLanguage lang = null;
|
||||||
|
|
||||||
|
@ -389,7 +389,7 @@ public class DOMAST extends ViewPart {
|
||||||
|
|
||||||
action1 = new Action() {
|
action1 = new Action() {
|
||||||
public void run() {
|
public void run() {
|
||||||
showMessage("Action 1 executed"); // TODO open declarations action
|
showMessage("Action 1 executed"); // TODO open declarations action //$NON-NLS-1$
|
||||||
// ... use annotations
|
// ... use annotations
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -399,7 +399,7 @@ public class DOMAST extends ViewPart {
|
||||||
|
|
||||||
action2 = new Action() {
|
action2 = new Action() {
|
||||||
public void run() {
|
public void run() {
|
||||||
showMessage("Action 2 executed"); // TODO open references action ...
|
showMessage("Action 2 executed"); // TODO open references action ... //$NON-NLS-1$
|
||||||
// use annotations
|
// use annotations
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -521,7 +521,7 @@ public class DOMAST extends ViewPart {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showMessage(String message) {
|
void showMessage(String message) {
|
||||||
MessageDialog.openInformation(viewer.getControl().getShell(), VIEW_NAME,
|
MessageDialog.openInformation(viewer.getControl().getShell(), VIEW_NAME,
|
||||||
message);
|
message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue