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 TypeMethodDescriptionvoidactivate()voidvoidstop(ProjectContext context) Participates thebefore resource unloadingphase.
Closes editors associated with project that is about to close.
-
Constructor Details
-
DtUICleanerService
public DtUICleanerService()
-
-
Method Details
-
activate
public void activate()- Specified by:
activatein interfaceIManagedService
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceIManagedService
-
stop
Participates thebefore resource unloadingphase.
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:
-