01: /*******************************************************************************
02: * Copyright (c) 2000, 2003 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jsp.launching;
11:
12: import org.eclipse.jface.action.IAction;
13: import org.eclipse.jface.text.source.IVerticalRulerInfo;
14: import org.eclipse.ui.texteditor.AbstractRulerActionDelegate;
15: import org.eclipse.ui.texteditor.ITextEditor;
16:
17: /**
18: * ToggleJspBreakpointActionDelegate
19: */
20: public class ToggleJspBreakpointRulerActionDelegate extends
21: AbstractRulerActionDelegate {
22:
23: /* (non-Javadoc)
24: * @see org.eclipse.ui.texteditor.AbstractRulerActionDelegate#createAction(org.eclipse.ui.texteditor.ITextEditor, org.eclipse.jface.text.source.IVerticalRulerInfo)
25: */
26: protected IAction createAction(ITextEditor editor,
27: IVerticalRulerInfo rulerInfo) {
28: return new ToggleJspBreakpointAction(editor, rulerInfo);
29: }
30:
31: }
|