mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Fixed compilation errors with Eclipse 3.4M7.
This commit is contained in:
parent
bbf8808238
commit
cb8d8d3a37
3 changed files with 3 additions and 8 deletions
|
@ -219,22 +219,19 @@ public class CMacroExpansionExplorationControl extends AbstractCompareViewerInfo
|
|||
|
||||
protected void registerCommandHandlers() {
|
||||
IHandler backwardHandler= new AbstractHandler() {
|
||||
@Override
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
backward();
|
||||
return null;
|
||||
}
|
||||
};
|
||||
IHandler forwardHandler= new AbstractHandler() {
|
||||
@Override
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
forward();
|
||||
return null;
|
||||
}
|
||||
};
|
||||
IHandler gotoDefinitionHandler= new AbstractHandler() {
|
||||
@Override
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
gotoMacroDefinition();
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -36,7 +36,6 @@ public final class ContentAssistHandler extends AbstractHandler {
|
|||
/*
|
||||
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
||||
*/
|
||||
@Override
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
ITextEditor editor= getActiveEditor();
|
||||
if (editor == null)
|
||||
|
|
|
@ -59,7 +59,6 @@ public class CorrectionCommandHandler extends AbstractHandler {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
||||
*/
|
||||
@Override
|
||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||
ISelection selection= fEditor.getSelectionProvider().getSelection();
|
||||
ITranslationUnit cu= CUIPlugin.getDefault().getWorkingCopyManager().getWorkingCopy(fEditor.getEditorInput());
|
||||
|
|
Loading…
Add table
Reference in a new issue