Class ToggleProfilingHandler

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com._1c.g5.v8.dt.internal.profiling.ui.ToggleProfilingHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public class ToggleProfilingHandler extends org.eclipse.core.commands.AbstractHandler
"Profiling" button handler.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.eclipse.core.commands.ExecutionEvent event)
    Gets IProfileTargets and turns profiling on if it's off and off if it's on for all of them.

    Methods inherited from class org.eclipse.core.commands.AbstractHandler

    addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled

    Methods inherited from class org.eclipse.core.commands.common.EventManager

    addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject

    Methods inherited from class java.lang.Object

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

    • ToggleProfilingHandler

      public ToggleProfilingHandler()
  • Method Details

    • execute

      public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
      Gets IProfileTargets and turns profiling on if it's off and off if it's on for all of them.
      Throws:
      org.eclipse.core.commands.ExecutionException