Fixing some bugs and making the plug-in compatible with Java 1.4
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / GotoAnnotationAction.java
index f82eb05..781cff9 100644 (file)
@@ -17,22 +17,23 @@ import org.eclipse.ui.PlatformUI;
 import org.eclipse.ui.texteditor.ITextEditor;
 import org.eclipse.ui.texteditor.TextEditorAction;
 
-
 public class GotoAnnotationAction extends TextEditorAction {
 
        private boolean fForward;
 
        public GotoAnnotationAction(String prefix, boolean forward) {
                super(PHPEditorMessages.getResourceBundle(), prefix, null);
-               fForward= forward;
+               fForward = forward;
                if (forward)
-                       PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.GOTO_NEXT_ERROR_ACTION);
+                       PlatformUI.getWorkbench().getHelpSystem().setHelp(this,
+                                       IJavaHelpContextIds.GOTO_NEXT_ERROR_ACTION);
                else
-                       PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.GOTO_PREVIOUS_ERROR_ACTION);
+                       PlatformUI.getWorkbench().getHelpSystem().setHelp(this,
+                                       IJavaHelpContextIds.GOTO_PREVIOUS_ERROR_ACTION);
        }
 
        public void run() {
-         PHPEditor e= (PHPEditor) getTextEditor();
+               PHPEditor e = (PHPEditor) getTextEditor();
                e.gotoAnnotation(fForward);
        }