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 ClassesModifier and TypeClassDescriptionprotected class
Toggle auto-attach state of 1C:Enterprise Runtime debug target type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
dispose()
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
updateAutoattachDebugTargets
(List<DebugTargetType> debugTargetTypes) Update current selected autoattach 1C:Enterprise Runtime debug targets in current debug process.
-
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 interfaceorg.eclipse.ui.IActionDelegate2
-
run
public void run(org.eclipse.jface.action.IAction action) - Specified by:
run
in interfaceorg.eclipse.ui.IActionDelegate
-
selectionChanged
- Specified by:
selectionChanged
in interfaceorg.eclipse.ui.IActionDelegate
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.ui.IActionDelegate2
- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchWindowActionDelegate
-
init
public void init(org.eclipse.jface.action.IAction action) - Specified by:
init
in interfaceorg.eclipse.ui.IActionDelegate2
-
init
public void init(org.eclipse.ui.IWorkbenchWindow window) - Specified by:
init
in interfaceorg.eclipse.ui.IWorkbenchWindowActionDelegate
-
init
public void init(org.eclipse.ui.IViewPart view) - Specified by:
init
in interfaceorg.eclipse.ui.IViewActionDelegate
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent) - Specified by:
getMenu
in interfaceorg.eclipse.ui.IWorkbenchWindowPulldownDelegate
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent) - Specified by:
getMenu
in interfaceorg.eclipse.ui.IWorkbenchWindowPulldownDelegate2
-
debugContextChanged
public void debugContextChanged(org.eclipse.debug.ui.contexts.DebugContextEvent event) - Specified by:
debugContextChanged
in interfaceorg.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 benull
-
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 benull
action
- the action to add, cannot benull
-
updateAutoattachDebugTargets
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 benull
-