Class DebugTargetsConfigureAction

java.lang.Object
com._1c.g5.v8.dt.internal.debug.ui.actions.DebugTargetsConfigureAction
All Implemented Interfaces:
org.eclipse.debug.ui.contexts.IDebugContextListener, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate, org.eclipse.ui.IWorkbenchWindowPulldownDelegate, org.eclipse.ui.IWorkbenchWindowPulldownDelegate2

public class DebugTargetsConfigureAction extends Object implements org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IWorkbenchWindowPulldownDelegate2, org.eclipse.ui.IActionDelegate2, org.eclipse.debug.ui.contexts.IDebugContextListener
1C:Enterprise Runtime debug areas configuration action.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
    Toggle auto-attach state of 1C:Enterprise Runtime debug target type.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addToMenu(org.eclipse.swt.widgets.Menu menu, org.eclipse.jface.action.IAction action)
    Adds the given action to the specified menu.
    void
    debugContextChanged(org.eclipse.debug.ui.contexts.DebugContextEvent event)
     
    void
     
    protected void
    fillMenu(org.eclipse.swt.widgets.Menu menu)
    Fills the drop-down menu with 1C:Enterprise Runtime debug targets auto-attach states.
    org.eclipse.swt.widgets.Menu
    getMenu(org.eclipse.swt.widgets.Control parent)
     
    org.eclipse.swt.widgets.Menu
    getMenu(org.eclipse.swt.widgets.Menu parent)
     
    protected org.eclipse.ui.IWorkbenchWindow
    Returns actual workbench window for this action.
    void
    init(org.eclipse.jface.action.IAction action)
     
    void
    init(org.eclipse.ui.IViewPart view)
     
    void
    init(org.eclipse.ui.IWorkbenchWindow window)
     
    void
    run(org.eclipse.jface.action.IAction action)
     
    void
    runWithEvent(org.eclipse.jface.action.IAction action, org.eclipse.swt.widgets.Event event)
     
    void
    selectionChanged(org.eclipse.jface.action.IAction action, ISelection selection)
     
    protected void
    Update current selected autoattach 1C:Enterprise Runtime debug targets in current debug process.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DebugTargetsConfigureAction

      public DebugTargetsConfigureAction()
  • Method Details

    • runWithEvent

      public void runWithEvent(org.eclipse.jface.action.IAction action, org.eclipse.swt.widgets.Event event)
      Specified by:
      runWithEvent in interface org.eclipse.ui.IActionDelegate2
    • run

      public void run(org.eclipse.jface.action.IAction action)
      Specified by:
      run in interface org.eclipse.ui.IActionDelegate
    • selectionChanged

      public void selectionChanged(org.eclipse.jface.action.IAction action, ISelection selection)
      Specified by:
      selectionChanged in interface org.eclipse.ui.IActionDelegate
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.ui.IActionDelegate2
      Specified by:
      dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
    • init

      public void init(org.eclipse.jface.action.IAction action)
      Specified by:
      init in interface org.eclipse.ui.IActionDelegate2
    • init

      public void init(org.eclipse.ui.IWorkbenchWindow window)
      Specified by:
      init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
    • init

      public void init(org.eclipse.ui.IViewPart view)
      Specified by:
      init in interface org.eclipse.ui.IViewActionDelegate
    • getMenu

      public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)
      Specified by:
      getMenu in interface org.eclipse.ui.IWorkbenchWindowPulldownDelegate
    • getMenu

      public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)
      Specified by:
      getMenu in interface org.eclipse.ui.IWorkbenchWindowPulldownDelegate2
    • debugContextChanged

      public void debugContextChanged(org.eclipse.debug.ui.contexts.DebugContextEvent event)
      Specified by:
      debugContextChanged in interface org.eclipse.debug.ui.contexts.IDebugContextListener
    • getWorkbenchWindow

      protected org.eclipse.ui.IWorkbenchWindow getWorkbenchWindow()
      Returns actual workbench window for this action.
      Returns:
      actual workbench window for this action
    • fillMenu

      protected void fillMenu(org.eclipse.swt.widgets.Menu menu)
      Fills the drop-down menu with 1C:Enterprise Runtime debug targets auto-attach states.
      Parameters:
      menu - the menu to fill, cannot be null
    • addToMenu

      protected void addToMenu(org.eclipse.swt.widgets.Menu menu, org.eclipse.jface.action.IAction action)
      Adds the given action to the specified menu.
      Parameters:
      menu - the menu to add the action to, cannot be null
      action - the action to add, cannot be null
    • updateAutoattachDebugTargets

      protected void updateAutoattachDebugTargets(List<DebugTargetType> debugTargetTypes)
      Update current selected autoattach 1C:Enterprise Runtime debug targets in current debug process.
      Parameters:
      debugTargetTypes - list of 1C:Enterprise Runtime debug targets to update, cannot be null