d222c4eadeaef84728e6344be55736201e766ece
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.ui / src / net / sourceforge / phpeclipse / xdebug / ui / actions / BreakpointRulerActionDelegate.java
1 package net.sourceforge.phpeclipse.xdebug.ui.actions;
2
3 import org.eclipse.jface.action.IAction;
4 import org.eclipse.jface.text.source.IVerticalRulerInfo;
5 import org.eclipse.ui.texteditor.AbstractRulerActionDelegate;
6 import org.eclipse.ui.texteditor.ITextEditor;
7
8 public class BreakpointRulerActionDelegate extends AbstractRulerActionDelegate {
9
10         private ToggleBreakpointRulerAction fTargetAction;
11
12         protected IAction createAction(ITextEditor editor,
13                         IVerticalRulerInfo rulerInfo) {
14                 fTargetAction = new ToggleBreakpointRulerAction(editor, rulerInfo);
15                 return fTargetAction;
16         }
17
18 }