Class ExtensionSyncSession

java.lang.Object
com.e1c.langtool.v8.dt.sync.AbstractBmSyncSession
com.e1c.langtool.v8.dt.extension.sync.ExtensionSyncSession
All Implemented Interfaces:
SyncSession, BmSyncSession

public class ExtensionSyncSession extends AbstractBmSyncSession
  • Constructor Details

    • ExtensionSyncSession

      public ExtensionSyncSession(ITranslatedProject translatedProject)
  • Method Details

    • createProject

      public org.eclipse.core.runtime.IStatus createProject(org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: SyncSession
      Creates the target project with all specific.
      Parameters:
      monitor - the monitor
      Returns:
      the status of creation
    • getTranslationProvider

      public IProjectTranslationProvider getTranslationProvider()
      Description copied from interface: BmSyncSession
      Gets the translation provider.
      Returns:
      the translation provider
    • beginSyncOperation

      public void beginSyncOperation()
      Description copied from interface: SyncSession
      Begins synchronization operation. Performs all necessary lifecycle checks and resource blocking. Must preceed any business actions within the session. May be called only once per session
      Specified by:
      beginSyncOperation in interface SyncSession
      Overrides:
      beginSyncOperation in class AbstractBmSyncSession
    • endSyncOperation

      public void endSyncOperation()
      Description copied from interface: SyncSession
      Ends the operation. Must be called after internal synchronization logic is finished to remove LC/resource locks
      Specified by:
      endSyncOperation in interface SyncSession
      Overrides:
      endSyncOperation in class AbstractBmSyncSession