org.eclipse.emf.mwe.internal.ui.debug.breakpoint.actions
Class BreakpointActionGroup
java.lang.Object
org.eclipse.ui.actions.ActionGroup
org.eclipse.emf.mwe.internal.ui.debug.breakpoint.actions.BreakpointActionGroup
public class BreakpointActionGroup
- extends org.eclipse.ui.actions.ActionGroup
Action group with 2 actions: "Toggle Breakpoints" and
"Enable/Disable Breakpoints".
Despite of usual breakpoint actions these actions can be used not only for
vertical ruler context menu (incl. double click), but also for editor context
menu. That way "in line" breakpoints can be handled.
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
fillActionBars, getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BreakpointActionGroup
public BreakpointActionGroup(org.eclipse.ui.editors.text.TextEditor editor)
isRulerSelected
public boolean isRulerSelected()
getLastSelectedLine
public int getLastSelectedLine()
getLastSelectedOffset
public int getLastSelectedOffset()
getOffsetAtLine
public int getOffsetAtLine(int line)
fillContextMenu
public void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
- Overrides:
fillContextMenu
in class org.eclipse.ui.actions.ActionGroup
dispose
public void dispose()
- Overrides:
dispose
in class org.eclipse.ui.actions.ActionGroup