Class ProfilingResultOpener
java.lang.Object
com._1c.g5.v8.dt.internal.profiling.ui.ProfilingResultOpener
- All Implemented Interfaces:
IProfilingResultListener,IManagedService
public class ProfilingResultOpener
extends Object
implements IProfilingResultListener, IManagedService
Standard profiling results listener. Added as
IProfilingResultListener in
IProfilingService implementation on application start up.
Opens ProfilingView with profiling results when new profiling results are available.
Also loads profiling results from cache on disk.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidvoidresultRenamed(IProfilingResult result, String oldName) Notifies listener about renaming profiling result.voidClears results cache and redraws empty profiling view.voidresultsUpdated(IProfilingResult result) Creates/opensProfilingViewwith new profiling results.
-
Constructor Details
-
ProfilingResultOpener
public ProfilingResultOpener()
-
-
Method Details
-
resultsUpdated
Creates/opensProfilingViewwith new profiling results. Called byIProfilingServicewhen new profiling results are available.- Specified by:
resultsUpdatedin interfaceIProfilingResultListener- Parameters:
result-IProfilingResultwith new profiling results. Cannot benull.
-
resultsCleared
public void resultsCleared()Clears results cache and redraws empty profiling view.- Specified by:
resultsClearedin interfaceIProfilingResultListener
-
resultRenamed
Description copied from interface:IProfilingResultListenerNotifies listener about renaming profiling result.- Specified by:
resultRenamedin interfaceIProfilingResultListener- Parameters:
result- Result that was renamed. Nevernull.oldName- The old name of the renamed result. Cannot benull.
-
activate
public void activate()- Specified by:
activatein interfaceIManagedService
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceIManagedService
-