Class RulerBreakpointAction

  • All Implemented Interfaces:
    IAction

    public abstract class RulerBreakpointAction
    extends Action
    Abstract action that works on breakpoints in the vertical ruler.

    This class may be subclassed.

    Since:
    3.2
    • Constructor Detail

      • RulerBreakpointAction

        public RulerBreakpointAction​(ITextEditor editor,
                                     IVerticalRulerInfo info)
        Constructs an action to work on breakpoints in the specified text editor with the specified vertical ruler information.
        Parameters:
        editor - text editor
        info - vertical ruler information
    • Method Detail

      • getBreakpoint

        protected IBreakpoint getBreakpoint()
        Returns the breakpoint at the last line of mouse activity in the ruler or null if none.
        Returns:
        breakpoint associated with activity in the ruler or null
      • getEditor

        protected ITextEditor getEditor()
        Returns the editor this action was created for.
        Returns:
        editor
      • getVerticalRulerInfo

        protected IVerticalRulerInfo getVerticalRulerInfo()
        Returns the vertical ruler information this action was created for.
        Returns:
        vertical ruler information