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 TypeMethodDescriptionvoid
activate()
void
void
resultRenamed
(IProfilingResult result, String oldName) Notifies listener about renaming profiling result.void
Clears results cache and redraws empty profiling view.void
resultsUpdated
(IProfilingResult result) Creates/opensProfilingView
with new profiling results.
-
Constructor Details
-
ProfilingResultOpener
public ProfilingResultOpener()
-
-
Method Details
-
resultsUpdated
Creates/opensProfilingView
with new profiling results. Called byIProfilingService
when new profiling results are available.- Specified by:
resultsUpdated
in interfaceIProfilingResultListener
- Parameters:
result
-IProfilingResult
with new profiling results. Cannot benull
.
-
resultsCleared
public void resultsCleared()Clears results cache and redraws empty profiling view.- Specified by:
resultsCleared
in interfaceIProfilingResultListener
-
resultRenamed
Description copied from interface:IProfilingResultListener
Notifies listener about renaming profiling result.- Specified by:
resultRenamed
in interfaceIProfilingResultListener
- Parameters:
result
- Result that was renamed. Nevernull
.oldName
- The old name of the renamed result. Cannot benull
.
-
activate
public void activate()- Specified by:
activate
in interfaceIManagedService
-
deactivate
public void deactivate()- Specified by:
deactivate
in interfaceIManagedService
-