import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.texteditor.TextEditorAction;
-
public class GotoErrorAction extends TextEditorAction {
private boolean fForward;
public GotoErrorAction(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.gotoError(fForward);
}