Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui.actions
Class RulerEnableDisableBreakpointActionDelegate


java.lang.Object
  extended by 

org.eclipse.ui.actions.ActionDelegate
      extended by 

org.eclipse.ui.texteditor.AbstractRulerActionDelegate
          extended by 
org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate
All Implemented Interfaces:
EventListener, IMenuListener, MouseListener, org.eclipse.swt.internal.SWTEventListener, IActionDelegate, IActionDelegate2, IEditorActionDelegate

public class RulerEnableDisableBreakpointActionDelegate
extends AbstractRulerActionDelegate

Toggles enablement of a breakpoint in a vertical ruler. This action can be contributed to a vertical ruler context menu via the popupMenus extension point, by referencing the ruler's context menu identifier in the targetID attribute.

 <extension point="org.eclipse.ui.popupMenus">
   <viewerContribution
     targetID="example.rulerContextMenuId"
     id="example.RulerPopupActions">
       <action
         label="Enable Breakpoint"
         class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"
         menubarPath="additions"
         id="example.rulerContextMenu.toggleBreakpointAction">
       </action>
   </viewerContribution>
 

Clients may refer to this class as an action delegate in plug-in XML.

Since:
3.2
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

Constructor Summary
RulerEnableDisableBreakpointActionDelegate ()
           
 
Method Summary
protected   IAction createAction ( ITextEditor editor, IVerticalRulerInfo rulerInfo)
          The factory method creating the underlying action.
 
Methods inherited from class org.eclipse.ui.texteditor. AbstractRulerActionDelegate
menuAboutToShow, mouseDoubleClick, mouseDown, mouseUp, run, runWithEvent, selectionChanged, setActiveEditor
 
Methods inherited from class org.eclipse.ui.actions. ActionDelegate
dispose, init
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulerEnableDisableBreakpointActionDelegate

public RulerEnableDisableBreakpointActionDelegate()
Method Detail

createAction

protected 
IAction createAction(
ITextEditor editor,
                               
IVerticalRulerInfo rulerInfo)
Description copied from class: AbstractRulerActionDelegate
The factory method creating the underlying action.

Specified by:
createAction in class AbstractRulerActionDelegate
Parameters:
editor - the editor the action to be created will work on
rulerInfo - the vertical ruler the action to be created will work on
Returns:
the created action

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire