Interface IProjectStorageSettingsConfigurator

All Known Implementing Classes:
V8ProjectStorageConfigurator

public interface IProjectStorageSettingsConfigurator
The common interface to implement configurator of default storage strategy (storage settings). The implementation should be contributed to com.e1c.langtool.translationStorageProvider extension point.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canConfigure(org.eclipse.core.resources.IProject project)
    Checks that the project can be configured for the absent storage settings.
    void
    configureNewSettings(org.eclipse.core.resources.IProject project, ProjectStorageSettings storageSettings)
    Configure new storage settings for the project.
  • Method Details

    • canConfigure

      boolean canConfigure(org.eclipse.core.resources.IProject project)
      Checks that the project can be configured for the absent storage settings.
      Parameters:
      project - the project to check, cannot be null.
      Returns:
      true, the project can be configured
    • configureNewSettings

      void configureNewSettings(org.eclipse.core.resources.IProject project, ProjectStorageSettings storageSettings)
      Configure new storage settings for the project.
      Parameters:
      project - the project, cannot be null.
      storageSettings - the new storage settings, cannot be null.