Package com.e1c.langtool.storage
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 TypeMethodDescriptionbooleancanConfigure(org.eclipse.core.resources.IProject project) Checks that the project can be configured for the absent storage settings.voidconfigureNewSettings(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 benull.- 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 benull.storageSettings- the new storage settings, cannot benull.
-