avoid exception for empty file name
[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
9
10 public class BreakpointRulerActionDelegate extends AbstractRulerActionDelegate {
11
12         private ToggleBreakpointRulerAction fTargetAction;
13
14         protected IAction createAction(ITextEditor editor,
15                         IVerticalRulerInfo rulerInfo) {
16                 fTargetAction = new ToggleBreakpointRulerAction( editor, rulerInfo );
17                 return fTargetAction;
18         }
19
20 }