Package com._1c.g5.v8.dt.internal.ui
Class DtUICleanerService
java.lang.Object
com._1c.g5.v8.dt.internal.ui.DtUICleanerService
- All Implemented Interfaces:
IManagedService
@LifecycleService(name="DtUICleanerService")
public class DtUICleanerService
extends Object
implements IManagedService
This service is used for early cleaning of UI components during project stops/removal.
Being the part of the DT LC, it ensures that major UI parts that uses DT data services are being shut down
before the data will be unavailable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
void
void
stop
(ProjectContext context) Participates thebefore resource unloading
phase.
Closes editors associated with project that is about to close.
-
Constructor Details
-
DtUICleanerService
public DtUICleanerService()
-
-
Method Details
-
activate
public void activate()- Specified by:
activate
in interfaceIManagedService
-
deactivate
public void deactivate()- Specified by:
deactivate
in interfaceIManagedService
-
stop
Participates thebefore resource unloading
phase.
Closes editors associated with project that is about to close.For more information see
LifecyclePhase.BEFORE_RESOURCE_UNLOADING
- Parameters:
context
- the project context, cannot benull
.- See Also:
-