From: stefanbjarni Date: Fri, 6 May 2005 01:02:54 +0000 (+0000) Subject: Applied bugfixes described by Daniel Ecer on May 5 in a response to bugs item #1175366 X-Git-Url: http://secure.phpeclipse.com Applied bugfixes described by Daniel Ecer on May 5 in a response to bugs item #1175366 --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaOutlinePage.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaOutlinePage.java index 5e7e4b7..8fcbaf0 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaOutlinePage.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaOutlinePage.java @@ -105,7 +105,6 @@ import org.eclipse.ui.texteditor.ITextEditorActionConstants; import org.eclipse.ui.texteditor.ITextEditorActionDefinitionIds; import org.eclipse.ui.texteditor.IUpdate; import org.eclipse.ui.texteditor.TextEditorAction; -import org.eclipse.ui.texteditor.TextOperationAction; import org.eclipse.ui.views.contentoutline.IContentOutlinePage; import org.eclipse.ui.views.navigator.LocalSelectionTransfer; @@ -856,8 +855,8 @@ public class JavaOutlinePage extends Page implements IContentOutlinePage, IAdapt private GotoAnnotationAction fPreviousAnnotation; private GotoAnnotationAction fNextAnnotation; private TextEditorAction fShowJavadoc; - private TextOperationAction fUndo; - private TextOperationAction fRedo; + private IAction fUndo; + private IAction fRedo; private ToggleLinkingAction fToggleLinkingAction; @@ -881,8 +880,8 @@ public class JavaOutlinePage extends Page implements IContentOutlinePage, IAdapt fPreviousAnnotation= new GotoAnnotationAction("PreviousAnnotation.", false); //$NON-NLS-1$ fNextAnnotation= new GotoAnnotationAction("NextAnnotation.", true); //$NON-NLS-1$ fShowJavadoc= (TextEditorAction) fEditor.getAction("ShowJavaDoc"); //$NON-NLS-1$ - fUndo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.UNDO); - fRedo= (TextOperationAction) fEditor.getAction(ITextEditorActionConstants.REDO); + fUndo= fEditor.getAction(ITextEditorActionConstants.UNDO); + fRedo= fEditor.getAction(ITextEditorActionConstants.REDO); fTogglePresentation.setEditor(editor); fPreviousAnnotation.setEditor(editor);