Class SnapshotBootstrap

java.lang.Object
com.e1c.g5.v8.dt.internal.snapshot.integration.ui.SnapshotBootstrap
All Implemented Interfaces:
IManagedService, org.eclipse.ui.IStartup

public class SnapshotBootstrap extends Object implements org.eclipse.ui.IStartup, IManagedService
Snapshot bootstrap is responsible for activating snapshot facilities on application start up.
  • Constructor Details

    • SnapshotBootstrap

      @Inject public SnapshotBootstrap(IGitIntegrationManager integrationManager, com.google.inject.Provider<IGitIntegrationStrategy> integrationStrategyProvider, SnapshotPreferencesManager preferencesManager)
      Constructs an instance of the bootstrap.
      Parameters:
      integrationManager - the snapshot Git integration manager, cannot be null
      integrationStrategyProvider - the provider of snapshot Git integration strategy, cannot be null
      preferencesManager - the snapshot preferences manager, cannot be null
  • Method Details

    • activate

      public void activate()
      Specified by:
      activate in interface IManagedService
    • deactivate

      public void deactivate()
      Specified by:
      deactivate in interface IManagedService
    • earlyStartup

      public void earlyStartup()
      Specified by:
      earlyStartup in interface org.eclipse.ui.IStartup