mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +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() {
|
protected void registerCommandHandlers() {
|
||||||
IHandler backwardHandler= new AbstractHandler() {
|
IHandler backwardHandler= new AbstractHandler() {
|
||||||
@Override
|
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
|
||||||
backward();
|
backward();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
IHandler forwardHandler= new AbstractHandler() {
|
IHandler forwardHandler= new AbstractHandler() {
|
||||||
@Override
|
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
|
||||||
forward();
|
forward();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
IHandler gotoDefinitionHandler= new AbstractHandler() {
|
IHandler gotoDefinitionHandler= new AbstractHandler() {
|
||||||
@Override
|
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
|
||||||
gotoMacroDefinition();
|
gotoMacroDefinition();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,6 @@ public final class ContentAssistHandler extends AbstractHandler {
|
||||||
/*
|
/*
|
||||||
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||||
ITextEditor editor= getActiveEditor();
|
ITextEditor editor= getActiveEditor();
|
||||||
if (editor == null)
|
if (editor == null)
|
||||||
|
|
|
@ -59,7 +59,6 @@ public class CorrectionCommandHandler extends AbstractHandler {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public Object execute(ExecutionEvent event) throws ExecutionException {
|
public Object execute(ExecutionEvent event) throws ExecutionException {
|
||||||
ISelection selection= fEditor.getSelectionProvider().getSelection();
|
ISelection selection= fEditor.getSelectionProvider().getSelection();
|
||||||
ITranslationUnit cu= CUIPlugin.getDefault().getWorkingCopyManager().getWorkingCopy(fEditor.getEditorInput());
|
ITranslationUnit cu= CUIPlugin.getDefault().getWorkingCopyManager().getWorkingCopy(fEditor.getEditorInput());
|
||||||
|
|
Loading…
Add table
Reference in a new issue